|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.protocol.pcn.Pcn1001Factory
public class Pcn1001Factory
Defines Pcn1001Factory - passenger counter factory class.
Field Summary |
---|
Fields inherited from interface com.eurotech.framework.protocol.pcn.Pcn1001FactoryService |
---|
SERVICE_NAME |
Constructor Summary | |
---|---|
Pcn1001Factory()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
Pcn1001AddressInfoService |
obtainPcn1001AddressInfoService(Pcn1001AddressInfoService addressInfoService)
Obtains IPcn1001AddressInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service. |
Pcn1001CountInfoService |
obtainPcn1001CountInfoService(Pcn1001CountInfoService countInfoService)
Obtains IPcn1001CountInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service. |
Pcn1001InfoService |
obtainPcn1001InfoService(Pcn1001InfoService infoService)
Obtains IPcn1001InfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service. |
Pcn1001Service |
obtainPcn1001Service(int snpAddress,
Pcn1001SnpChannelService snpChannelService)
Obtains IPcn1001Service. |
Pcn1001VersionInfoService |
obtainPcn1001VersionInfoService(Pcn1001VersionInfoService versionInfoService)
Obtains IPcn1001VersionInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service. |
void |
releasePcn1001Service(int snpAddress)
Releases IPcn1001Service. |
void |
releasePcn1001Service(Pcn1001Service service)
Releases IPcn1001Service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pcn1001Factory()
Method Detail |
---|
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public Pcn1001Service obtainPcn1001Service(int snpAddress, Pcn1001SnpChannelService snpChannelService)
Pcn1001FactoryService
obtainPcn1001Service
in interface Pcn1001FactoryService
snpAddress
- - SNP address of the counter as int
snpChannelService
- - SNP channel service as IPcn1001SnpChannelService
public Pcn1001AddressInfoService obtainPcn1001AddressInfoService(Pcn1001AddressInfoService addressInfoService)
Pcn1001FactoryService
obtainPcn1001AddressInfoService
in interface Pcn1001FactoryService
addressInfoService
- - PCN-1001 address info service as IPcn1001AddressInfoService
IPcn1001AddressInfoService
public Pcn1001CountInfoService obtainPcn1001CountInfoService(Pcn1001CountInfoService countInfoService)
Pcn1001FactoryService
obtainPcn1001CountInfoService
in interface Pcn1001FactoryService
countInfoService
- - PCN-1001 count info service as IPcn1001CountInfoService
public Pcn1001VersionInfoService obtainPcn1001VersionInfoService(Pcn1001VersionInfoService versionInfoService)
Pcn1001FactoryService
obtainPcn1001VersionInfoService
in interface Pcn1001FactoryService
versionInfoService
- - PCN-1001 version info service as IPcn1001VersionInfoService
IPcn1001VersionInfoService
public Pcn1001InfoService obtainPcn1001InfoService(Pcn1001InfoService infoService)
Pcn1001FactoryService
obtainPcn1001InfoService
in interface Pcn1001FactoryService
infoService
- - PCN-1001 info service as IPcn1001InfoService
IPcn1001InfoService
public void releasePcn1001Service(int snpAddress)
Pcn1001FactoryService
releasePcn1001Service
in interface Pcn1001FactoryService
snpAddress
- - release service with this SNP addresspublic void releasePcn1001Service(Pcn1001Service service)
Pcn1001FactoryService
releasePcn1001Service
in interface Pcn1001FactoryService
service
- - service tro release as IPcn1001Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |