ist.palcom.resourceAddressing
Class ResourceAddressingManager
java.lang.Object
ist.palcom.resourceAddressing.ResourceAddressingManager
public class ResourceAddressingManager
- extends java.lang.Object
|
Method Summary |
protected LocalSID |
getLocalSIDForSIID(ServiceInstanceID siid,
boolean useOldData)
|
protected PRDService |
getPRDServiceForLocalSID(LocalSID sid,
boolean useOldData)
|
protected PRDService |
getPRDSForSIID(ServiceInstanceID siid,
boolean useOldData)
|
protected void |
getServiceListsForSubList(LocalSID listLocalSID)
|
protected ServiceInstanceID |
getSIIDForLocalSID(LocalSID sid,
boolean useOldData)
|
void |
listenForConnections(PalcomThread t,
DeviceAddress da)
|
void |
listenForDevices(PalcomThread t)
|
void |
listenForService(PalcomThread t,
AbstractResourceAddress ara)
Listen for a service with address ara
NOT FINISHED YET, WILL RECEIVE ALL SERVICES ON THE DEVICE |
void |
listenForServiceDescriptions(PalcomThread listener,
AbstractResourceAddress ara)
Listen for serviceDescription for the service with AbstractResourceAddress sa |
void |
listenForServiceLists(PalcomThread t,
DeviceAddress da)
Listen for all service lists on the device with deviceaddress da |
void |
listenForServices(PalcomThread t,
DeviceAddress da)
Listen for all services on the device with deviceaddress da |
void |
listenForStatusChanges(AbstractResourceAddress a,
PalcomThread t)
|
void |
requestConnection(ConnectionInfo info)
|
void |
requestDisconnection(ConnectionInfo info)
|
void |
stop()
|
void |
stopListeningForConnections(PalcomThread thread,
DeviceAddress da1)
|
void |
stopListeningForDevices(PalcomThread t)
|
void |
stopListeningForServices(PalcomThread thread,
DeviceAddress da)
|
AbstractResourceAddress |
validateAddress(AbstractResourceAddress sa1)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceAddressingManager
public ResourceAddressingManager(DeviceContext context)
stop
public void stop()
requestConnection
public void requestConnection(ConnectionInfo info)
requestDisconnection
public void requestDisconnection(ConnectionInfo info)
listenForDevices
public void listenForDevices(PalcomThread t)
listenForService
public void listenForService(PalcomThread t,
AbstractResourceAddress ara)
- Listen for a service with address ara
NOT FINISHED YET, WILL RECEIVE ALL SERVICES ON THE DEVICE
listenForServices
public void listenForServices(PalcomThread t,
DeviceAddress da)
- Listen for all services on the device with deviceaddress da
listenForServiceLists
public void listenForServiceLists(PalcomThread t,
DeviceAddress da)
- Listen for all service lists on the device with deviceaddress da
listenForServiceDescriptions
public void listenForServiceDescriptions(PalcomThread listener,
AbstractResourceAddress ara)
- Listen for serviceDescription for the service with AbstractResourceAddress sa
listenForConnections
public void listenForConnections(PalcomThread t,
DeviceAddress da)
getPRDServiceForLocalSID
protected PRDService getPRDServiceForLocalSID(LocalSID sid,
boolean useOldData)
getPRDSForSIID
protected PRDService getPRDSForSIID(ServiceInstanceID siid,
boolean useOldData)
getSIIDForLocalSID
protected ServiceInstanceID getSIIDForLocalSID(LocalSID sid,
boolean useOldData)
getLocalSIDForSIID
protected LocalSID getLocalSIDForSIID(ServiceInstanceID siid,
boolean useOldData)
listenForStatusChanges
public void listenForStatusChanges(AbstractResourceAddress a,
PalcomThread t)
getServiceListsForSubList
protected void getServiceListsForSubList(LocalSID listLocalSID)
validateAddress
public AbstractResourceAddress validateAddress(AbstractResourceAddress sa1)
stopListeningForConnections
public void stopListeningForConnections(PalcomThread thread,
DeviceAddress da1)
stopListeningForServices
public void stopListeningForServices(PalcomThread thread,
DeviceAddress da)
stopListeningForDevices
public void stopListeningForDevices(PalcomThread t)