2010-01-26 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.transport.bundle
Class EpcglobalLlrpTransportBundle

java.lang.Object
  extended by TransportBundle
      extended by org.eclipse.soda.dk.epcglobal.llrp.transport.bundle.EpcglobalLlrpTransportBundle
All Implemented Interfaces:
BundleActivator

public class EpcglobalLlrpTransportBundle
extends TransportBundle
implements BundleActivator

EPCglobal Low Level Reader Protocol (LLRP) Transport.

The transport bundle activator class creates and registers the EpcglobalLlrpTransport transport.

The Device Kit properties CONNECTION_KEYS and default values.

epcgloballlrptransport.writesize -1
epcgloballlrptransport.linger -1
epcgloballlrptransport.readsize -1
epcgloballlrptransport.remoteport 5084
epcgloballlrptransport.host epcgloballlrp
epcgloballlrptransport.readtimeout 1000
epcgloballlrptransport.localport -1
epcgloballlrptransport.connection tcpip
epcgloballlrptransport.responsetimeout 1000
epcgloballlrptransport.writesize=-1 epcgloballlrptransport.linger=-1 epcgloballlrptransport.readsize=-1 epcgloballlrptransport.remoteport=5084 epcgloballlrptransport.host=epcgloballlrp epcgloballlrptransport.readtimeout=1000 epcgloballlrptransport.localport=-1 epcgloballlrptransport.connection=tcpip epcgloballlrptransport.responsetimeout=1000

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
EpcglobalLlrpTransportService,

See the following specification(s) for more details:

Title: EPCglobal Low Level Reader Protocol (LLRP)
URL: http://www.epcglobalinc.org/standards/llrp
Version: 1.0.1
Date: August 13, 2007
Vendor: EPCglobal
Comment: Ratified

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
static java.lang.String[] DEVICE_CATEGORY
          Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property.
static java.lang.String[] EXPORTED_SERVICE_NAMES
          Defines the service name(s) to be registered by the EpcglobalLlrpTransport bundle.
 
Constructor Summary
EpcglobalLlrpTransportBundle()
           
 
Method Summary
 java.util.Hashtable createProperties()
          Gets the properties to be registered with the service(s).
 TransportService createService(ConnectionService connection)
          Creates the transport service to be registered with the OSGi system.
 java.lang.String[] getExportedServiceNames()
          Return the exported service name(s) to be registered by the EpcglobalLlrpTransport bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.osgi.framework.BundleActivator
start, stop
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

Since:
1.0
See Also:
Constant Field Values

DEVICE_CATEGORY

public static final java.lang.String[] DEVICE_CATEGORY
Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property.

Since:
1.0

EXPORTED_SERVICE_NAMES

public static final java.lang.String[] EXPORTED_SERVICE_NAMES
Defines the service name(s) to be registered by the EpcglobalLlrpTransport bundle.
org.eclipse.soda.dk.transport.service.TransportService
org.eclipse.soda.dk.rfid.transport.service.RfidTransportService

Since:
1.0
Constructor Detail

EpcglobalLlrpTransportBundle

public EpcglobalLlrpTransportBundle()
Method Detail

createProperties

public java.util.Hashtable createProperties()
Gets the properties to be registered with the service(s).

Returns:
Hashtable of properties.
org.osgi.service.device.Constants.DRIVER_ID EpcglobalLlrpTransport
org.osgi.framework.Constants.SERVICE_PID EpcglobalLlrpTransportService.SERVICE_NAME
org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_CLASS EpcglobalLlrp
org.osgi.service.device.Constants.DEVICE_CATEGORY TransportService
org.osgi.framework.Constants.SERVICE_RANKING 6
Since:
1.0

createService

public TransportService createService(ConnectionService connection)
Creates the transport service to be registered with the OSGi system.

Parameters:
connection - The connection service to be used when creating this transport service.
Returns:
Object The transport service
Since:
1.0
See Also:
EpcglobalLlrpTransport

getExportedServiceNames

public java.lang.String[] getExportedServiceNames()
Return the exported service name(s) to be registered by the EpcglobalLlrpTransport bundle.

Returns:
String[] The transport's service names.
Since:
1.0

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.