|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDeviceAdapter
org.eclipse.soda.dk.epcglobal.llrp.adapter.EpcglobalLlrpAdapter
public class EpcglobalLlrpAdapter
EPCglobal Low Level Reader Protocol (LLRP) Adapter. The EpcglobalLlrpAdapter class implements the EpcglobalLlrpAdapterService and provides the controls for the adapter.
The list of exported services:
EpcglobalLlrpAdapterService,
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
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. |
protected SignalService |
epcglobalLlrpDeviceServiceAddAccessspecResponse
Defines the AddAccessspecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceAddRospecResponse
Defines the AddRospecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceDeleteAccessspecResponse
Defines the DeleteAccessspecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceDeleteRospecResponse
Defines the DeleteRospecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceDisableAccessspecResponse
Defines the DisableAccessspecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceDisableRospecResponse
Defines the DisableRospecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceEnableAccessspecResponse
Defines the EnableAccessspecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceEnableRospecResponse
Defines the EnableRospecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceGetAccessspecsResponse
Defines the GetAccessspecsResponse signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceGetReaderCapabilities
Defines the GetReaderCapabilities c reference. |
protected SignalService |
epcglobalLlrpDeviceServiceGetReaderCapabilitiesResponse
Defines the GetReaderCapabilitiesResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceGetRospecsResponse
Defines the GetRospecsResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceRoAccessReport
Defines the RoAccessReport signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceStartRospecResponse
Defines the StartRospecResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceStopRospecResponse
Defines the StopRospecResponse signalref. |
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.adapter.service.EpcglobalLlrpAdapterService |
|---|
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, EpcglobalLlrpAdapter, FACTORY_SERVICE_NAME, LLRP_COMMAND_TIMEOUT, LLRP_COMMAND_TIMEOUT_DEFAULT, LLRP_COMMAND_TIMEOUT_PROPERTY, MANAGED_SERVICE_NAME, READER_CAPABILITIES_ERROR_EXTERNAL_KEY, READER_CAPABILITIES_EXTERNAL_KEY, READER_CAPABILITIES_GET_EXTERNAL_KEY, READER_CAPABILITIES_READ_EXTERNAL_KEY, READER_CAPABILITIES_WRITE_EXTERNAL_KEY, ReaderCapabilities, SERVICE_DESCRIPTION, SERVICE_NAME |
| Constructor Summary | |
|---|---|
EpcglobalLlrpAdapter()
Constructs a new instance of the EpcglobalLlrpAdapter class. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
IIdManager |
getAccessSpecIdManager()
Gets the access spec ID manager (IIdManager) value. |
MeasurementService |
getCapabilities()
Gets the capabilities (MeasurementService) value. |
int |
getControlCapacity()
Gets the control capacity. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the adapter. |
InterestService |
getInterest()
Gets the interest filter for the adapter. |
ILLRPCapabilities |
getLLRPCapabilities()
Gets the llrpcapabilities (ILLRPCapabilities) value. |
long |
getLLRPCommandTimeout()
Gets the value of LLRP command timeout custom parameter. |
int |
getMessageCapacity()
Gets the message capacity. |
IIdManager |
getROSpecIdManager()
Gets the rospec ID manager (IIdManager) value. |
ITaskManager |
getTaskManager()
Gets the task manager (ITaskManager) value. |
java.lang.Object |
handleMethodReaderCapabilities(int code,
Measurement measurement,
java.lang.Object data)
Handle method reader capabilities with the specified code, measurement and data parameters and return the Object result. |
void |
handleSignal(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Handle signal with the specified source, time stamp and data parameters. |
boolean |
isDeviceNeeded()
Is device needed. |
void |
setDevice(DeviceService device)
Set device. |
void |
setLLRPCommandTimeout(long LLRPCommandTimeout)
Sets the value of LLRP command timeout custom parameter. |
protected void |
setReaderCapabilities()
Set reader capabilities. |
void |
setup()
|
void |
signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Signal occurred. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
protected CommandService epcglobalLlrpDeviceServiceGetReaderCapabilities
protected SignalService epcglobalLlrpDeviceServiceGetReaderCapabilitiesResponse
protected SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
protected SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
protected SignalService epcglobalLlrpDeviceServiceAddRospecResponse
protected SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
protected SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
protected SignalService epcglobalLlrpDeviceServiceStartRospecResponse
protected SignalService epcglobalLlrpDeviceServiceStopRospecResponse
protected SignalService epcglobalLlrpDeviceServiceRoAccessReport
protected SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
protected SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
protected SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
| Constructor Detail |
|---|
public EpcglobalLlrpAdapter()
| Method Detail |
|---|
public void activate()
public IIdManager getAccessSpecIdManager()
IIdManager) value.public MeasurementService getCapabilities()
MeasurementService) value.getLLRPCapabilities(),
handleMethodReaderCapabilities(int,Measurement,Object),
setReaderCapabilities()public int getControlCapacity()
public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
public InterestService getInterest()
public ILLRPCapabilities getLLRPCapabilities()
ILLRPCapabilities) value.public long getLLRPCommandTimeout()
setLLRPCommandTimeout(long)public int getMessageCapacity()
public IIdManager getROSpecIdManager()
IIdManager) value.public ITaskManager getTaskManager()
ITaskManager) value.
public java.lang.Object handleMethodReaderCapabilities(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public void handleSignal(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
source - The source (SignalService) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.public boolean isDeviceNeeded()
public void setDevice(DeviceService device)
device - device.public void setLLRPCommandTimeout(long LLRPCommandTimeout)
LLRPCommandTimeout - The LLRP command timeout custom parameter.getLLRPCommandTimeout()protected void setReaderCapabilities()
handleMethodReaderCapabilities(int,Measurement,Object)public void setup()
org.eclipse.soda.dk.device.Container#setup()
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
source - source.timestamp - time stamp.data - data.
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||