com.eurotech.framework.protocol.pcn
Interface Pcn1001FactoryService

All Known Implementing Classes:
Pcn1001Factory

public interface Pcn1001FactoryService

Defines IPcn1001FactoryService - passenger counter factory service.

Author:
ilya.binshtok

Field Summary
static String SERVICE_NAME
          name of this service
 
Method Summary
 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.
 

Field Detail

SERVICE_NAME

static final String SERVICE_NAME
name of this service

Method Detail

obtainPcn1001Service

Pcn1001Service obtainPcn1001Service(int snpAddress,
                                    Pcn1001SnpChannelService snpChannelService)
Obtains IPcn1001Service.

Parameters:
snpAddress - - SNP address of the counter as int
snpChannelService - - SNP channel service as IPcn1001SnpChannelService
Returns:

obtainPcn1001AddressInfoService

Pcn1001AddressInfoService obtainPcn1001AddressInfoService(Pcn1001AddressInfoService addressInfoService)
Obtains IPcn1001AddressInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service.

Parameters:
addressInfoService - - PCN-1001 address info service as IPcn1001AddressInfoService
Returns:
new PCN-1001 address info service as IPcn1001AddressInfoService

obtainPcn1001CountInfoService

Pcn1001CountInfoService obtainPcn1001CountInfoService(Pcn1001CountInfoService countInfoService)
Obtains IPcn1001CountInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service.

Parameters:
countInfoService - - PCN-1001 count info service as IPcn1001CountInfoService
Returns:
new

obtainPcn1001VersionInfoService

Pcn1001VersionInfoService obtainPcn1001VersionInfoService(Pcn1001VersionInfoService versionInfoService)
Obtains IPcn1001VersionInfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service.

Parameters:
versionInfoService - - PCN-1001 version info service as IPcn1001VersionInfoService
Returns:
new PCN-1001 version info service as IPcn1001VersionInfoService

obtainPcn1001InfoService

Pcn1001InfoService obtainPcn1001InfoService(Pcn1001InfoService infoService)
Obtains IPcn1001InfoService by invoking respective Pcn1001 copy constructor to copy information from supplied service.

Parameters:
infoService - - PCN-1001 info service as IPcn1001InfoService
Returns:
new PCN-1001 info service as IPcn1001InfoService

releasePcn1001Service

void releasePcn1001Service(int snpAddress)
Releases IPcn1001Service.

Parameters:
snpAddress - - release service with this SNP address

releasePcn1001Service

void releasePcn1001Service(Pcn1001Service service)
Releases IPcn1001Service.

Parameters:
service - - service tro release as IPcn1001Service


Copyright © 2013. All Rights Reserved.