|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pcn1001SnpChannelService
Defines SNP (Simple Network Protocol) communication channel service for PCN-1001 passenger counter.
Field Summary | |
---|---|
static String |
SERVICE_NAME
name of this service |
static String |
snpNotification
|
Method Summary | |
---|---|
void |
addUser(Object user)
Adds a user to the list of channel users. |
int |
getBaudRate()
Reports baud rate. |
String |
getDevName()
Reports name of the serial device. |
String |
getDevProductID()
Reports device product ID |
String |
getDevVendorID()
Reports device vendor ID |
int |
getFlowControl()
Reports flow control mode. |
int |
getNumberDataBits()
Reports number of data bits. |
int |
getNumberStopBits()
Reports number of stop bits. |
int |
getParity()
Reports parity. |
int |
getUsageCount()
Reports usage count. |
String[] |
getUsers()
Reports list of channel users. |
boolean |
isDeviceSupported()
Reports if serial device is supported by this implementation. |
SnpMessage |
sendCommand(SnpMessage snpCmd,
int tout)
Sends SNP command to the passenger counter |
Field Detail |
---|
static final String SERVICE_NAME
static final String snpNotification
Method Detail |
---|
SnpMessage sendCommand(SnpMessage snpCmd, int tout) throws EsfException
snpCmd
- - SNP command as SnpMessage
tout
-
EsfException
String getDevVendorID()
String
String getDevProductID()
String
int getUsageCount()
int
String[] getUsers()
String[]
void addUser(Object user)
user
- - user to add as Object
String getDevName()
String
int getBaudRate()
int
int getNumberDataBits()
int
int getNumberStopBits()
int
int getParity()
int
int getFlowControl()
int
boolean isDeviceSupported()
boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |