|
||||||||||
| 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 SnpMessagetout -
EsfExceptionString getDevVendorID()
StringString getDevProductID()
Stringint getUsageCount()
intString[] getUsers()
String[]void addUser(Object user)
user - - user to add as ObjectString getDevName()
Stringint getBaudRate()
intint getNumberDataBits()
intint getNumberStopBits()
intint getParity()
intint getFlowControl()
intboolean isDeviceSupported()
boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||