|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pcn1001SnpChannelAcquisitionService
Defines Acquisition service for Passenger Counter's SNP (Simple Network Protocol) communication channel - serial RS485 communication.
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
name of this service |
| Method Summary | |
|---|---|
Pcn1001SnpChannelService |
obtainPcn1001SnpChannelService(org.osgi.service.io.ConnectionFactory connFactory,
Properties connectionConfig,
Object user,
boolean exclusive)
Obtains SNP channel service for a passenger counter. |
void |
releasePcn1001SnpChannelService(Pcn1001SnpChannelService service)
Releases supplied SNP channel service. |
| Field Detail |
|---|
static final String SERVICE_NAME
| Method Detail |
|---|
Pcn1001SnpChannelService obtainPcn1001SnpChannelService(org.osgi.service.io.ConnectionFactory connFactory,
Properties connectionConfig,
Object user,
boolean exclusive)
throws EsfException
devName - - name of the serial device as deviceVendorID - - device vendor ID as StringdeviceProductID - - device product ID as Stringbaud - - baud rate as dataBits - - number of dayta bits as stopBits - - number of stop bits as parity - - parity as flowControl - - type of flow control as user - - user object as Objectexclusive - - 'share this channel?' flag as
IPcn1001SnpChannelService
EsfException
void releasePcn1001SnpChannelService(Pcn1001SnpChannelService service)
throws EsfException
service - - SNP channel service to release as IPcn1001SnpChannelService
EsfException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||