|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.protocol.pcn.Pcn1001Master
public class Pcn1001Master
Defines PCN-1001 master class
| Field Summary |
|---|
| Fields inherited from interface com.eurotech.framework.protocol.pcn.Pcn1001MasterService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
Pcn1001Master()
|
|
| Method Summary | |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext,
Map<String,Object> properties)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
Pcn1001CountInfoService[] |
enableDisablePcn1001Counting(byte enOpcode)
Enables/disables counting on all functional devices. |
Pcn1001Service[] |
getAllFunctionalCounters(boolean verifyFunctionality)
Sends SNP polls to all configured passenger counters and reports all functional units. |
Pcn1001AddressInfoService[] |
getPcn1001AddressInfo()
Obtains and reports PCN-1001 address information from all functional devices. |
Pcn1001CountInfoService[] |
getPcn1001CountInfo()
Obtains and reports PCN-1001 IN/OUT count information from all functional devices. |
Pcn1001InfoService[] |
getPcn1001Info()
Obtains and reports PCN-1001 information from all functional devices. |
Pcn1001InputLineInfoService[] |
getPcn1001InputLineInfo()
Obtains and reports PCN-1001 input line information from all functional devices. |
Pcn1001CountInfoService[] |
getPcn1001LastCountInfo()
Returns last read CountInfo. |
Pcn1001MasterConfig |
getPcn1001MasterConfig()
Reports PCN-1001 Master configuration. |
Pcn1001VersionInfoService[] |
getPcn1001VersionInfo()
Obtains and reports PCN-1001 version information. |
void |
handleEvent(org.osgi.service.event.Event event)
|
protected boolean |
initializePcn1001Master()
|
boolean |
isPcn1001MasterReady()
Reports id PCN-1001 master is ready. |
protected boolean |
pcn1001PollInOutCounters()
|
void |
registerListener(Pcn1001CountListenerService listener)
registers a listener with the IPcn1001CountListener |
Pcn1001CountInfoService[] |
resetPcn1001Counts()
Resets IN/OUT counts all functional devices. |
void |
setConnectionFactory(org.osgi.service.io.ConnectionFactory connectionFactory)
|
void |
setPcn1001FactoryService(Pcn1001FactoryService pcn1001FactoryService)
|
void |
setPcn1001SnpChannelAcquisitionService(Pcn1001SnpChannelAcquisitionService pcn1001SnpChannelAcquisitionService)
|
void |
setSnpChannelProperties(Properties snpProperties)
|
void |
setUsbService(UsbService usbService)
|
void |
unregisterListener(Pcn1001CountListenerService listener)
unregisters a listener with the IPcn1001CountListener |
void |
unsetConnectionFactory(org.osgi.service.io.ConnectionFactory connectionFactory)
|
void |
unsetUsbService(UsbService usbService)
|
void |
updated(Map<String,Object> properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pcn1001Master()
| Method Detail |
|---|
public void setPcn1001FactoryService(Pcn1001FactoryService pcn1001FactoryService)
public void setPcn1001SnpChannelAcquisitionService(Pcn1001SnpChannelAcquisitionService pcn1001SnpChannelAcquisitionService)
public void setConnectionFactory(org.osgi.service.io.ConnectionFactory connectionFactory)
public void unsetConnectionFactory(org.osgi.service.io.ConnectionFactory connectionFactory)
public void setUsbService(UsbService usbService)
public void unsetUsbService(UsbService usbService)
protected void activate(org.osgi.service.component.ComponentContext componentContext,
Map<String,Object> properties)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public void updated(Map<String,Object> properties)
public void setSnpChannelProperties(Properties snpProperties)
setSnpChannelProperties in interface Pcn1001MasterServicepublic Pcn1001CountInfoService[] getPcn1001LastCountInfo()
Pcn1001MasterService
getPcn1001LastCountInfo in interface Pcn1001MasterServiceprotected boolean pcn1001PollInOutCounters()
public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerpublic Pcn1001Service[] getAllFunctionalCounters(boolean verifyFunctionality)
Pcn1001MasterService
getAllFunctionalCounters in interface Pcn1001MasterServiceverifyFunctionality - - verify functionality with SNP poll as boolean
IPcn1001Service[]public Pcn1001AddressInfoService[] getPcn1001AddressInfo()
Pcn1001MasterService
getPcn1001AddressInfo in interface Pcn1001MasterServiceIPcn1001AddressInfoService[]public Pcn1001VersionInfoService[] getPcn1001VersionInfo()
Pcn1001MasterService
getPcn1001VersionInfo in interface Pcn1001MasterServiceIPcn1001VersionInfoService[]public Pcn1001CountInfoService[] getPcn1001CountInfo()
Pcn1001MasterService
getPcn1001CountInfo in interface Pcn1001MasterServiceIPcn1001CountInfoService[]public Pcn1001InputLineInfoService[] getPcn1001InputLineInfo()
Pcn1001MasterService
getPcn1001InputLineInfo in interface Pcn1001MasterServiceIPcn1001InputLineInfoService[]public Pcn1001InfoService[] getPcn1001Info()
Pcn1001MasterService
getPcn1001Info in interface Pcn1001MasterServiceIPcn1001InfoService[]public Pcn1001CountInfoService[] resetPcn1001Counts()
Pcn1001MasterService
resetPcn1001Counts in interface Pcn1001MasterServiceIPcn1001CountInfoService[]public Pcn1001CountInfoService[] enableDisablePcn1001Counting(byte enOpcode)
Pcn1001MasterService
enableDisablePcn1001Counting in interface Pcn1001MasterServiceenOpcode - - enable/disable opcode as byte
IPcn1001CountInfoService[]public boolean isPcn1001MasterReady()
Pcn1001MasterService
isPcn1001MasterReady in interface Pcn1001MasterServicebooleanpublic Pcn1001MasterConfig getPcn1001MasterConfig()
getPcn1001MasterConfig in interface Pcn1001MasterServicePcn1001MasterConfigprotected boolean initializePcn1001Master()
public void registerListener(Pcn1001CountListenerService listener)
Pcn1001MasterService
registerListener in interface Pcn1001MasterServicelistener - the IPcn1001CountListener to registerpublic void unregisterListener(Pcn1001CountListenerService listener)
Pcn1001MasterService
unregisterListener in interface Pcn1001MasterServicelistener - the IPcn1001CountListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||