public class OutDispatcher
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static OutDispatcher |
getInstance()
Returns the output dispatcher.
|
void |
registerHelloListener(IncomingMessageListener listener) |
void |
send(ByeMessage bye,
ProtocolInfo protocolInfo,
DataStructure outgoingDiscoveryInfo)
Method send multicast bye.
|
void |
send(ByeMessage bye,
XAddressInfo targetXAddrInfo,
CredentialInfo credentialInfo) |
void |
send(GetMessage get,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(GetMetadataMessage getMetadata,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(GetStatusMessage getStatus,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(HelloMessage hello,
ProtocolInfo protocolInfo,
DataStructure outgoingDiscoveryInfo)
Method send multicast hello.
|
void |
send(HelloMessage hello,
XAddressInfo targetXAddrInfo,
CredentialInfo credentialInfo) |
void |
send(InvokeMessage invoke,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(ProbeMessage probe,
ProtocolInfo protocolInfo,
DataStructure outgoingDiscoveryInfo,
ResponseCallback callback)
Method send multicast probe.
|
void |
send(ProbeMessage probe,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(RenewMessage renew,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(ResolveMessage resolve,
ProtocolInfo protocolInfo,
DataStructure outgoingDiscoveryInfo,
ResponseCallback callback)
Method send multicast resolve.
|
void |
send(SubscribeMessage subscribe,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(SubscriptionEndMessage subscriptionEnd,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
send(UnsubscribeMessage unsubscribe,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
sendGenericMessage(Message msg,
XAddressInfo targetXAdrInfo,
CredentialInfo credentialInfo,
ResponseCallback callback) |
void |
sendGenericMessageToOutgoingDiscoveryInfo(Message msg,
ProtocolInfo protocolInfo,
Set outgoingDiscoveryInfos,
ResponseCallback callback) |
void |
unregisterHelloListener(LocalIncomingMessageListener listener) |
public static OutDispatcher getInstance()
public void send(HelloMessage hello, ProtocolInfo protocolInfo, DataStructure outgoingDiscoveryInfo)
hello - the hello messageprotocolInfo - the info about the technology e.g. DPWS, Bluetooth and the version of the technology e.g. DPWS2006,
DPWS2009.outgoingDiscoveryInfo - the info where the hello should send overpublic void send(ByeMessage bye, ProtocolInfo protocolInfo, DataStructure outgoingDiscoveryInfo)
bye - the bye messageprotocolInfo - the info about the technology e.g. DPWS, Bluetooth and the version of the technology e.g. DPWS2006,
DPWS2009.outgoingDiscoveryInfo - the info where the bye should sendpublic void send(ProbeMessage probe, ProtocolInfo protocolInfo, DataStructure outgoingDiscoveryInfo, ResponseCallback callback)
probe - the probe messageprotocolInfo - the info about the technology e.g. DPWS, Bluetooth and the version of the technology e.g. DPWS2006,
DPWS2009.outgoingDiscoveryInfo - the info where the probe should sendcallback - the callbackHandler for the responsepublic void send(ResolveMessage resolve, ProtocolInfo protocolInfo, DataStructure outgoingDiscoveryInfo, ResponseCallback callback)
resolve - the resolve messageprotocolInfo - the info about the technology e.g. DPWS, Bluetooth and the version of the technology e.g. DPWS2006,
DPWS2009.outgoingDiscoveryInfo - the info where the resolve should sendcallback - the callbackHandler for the responsepublic void send(HelloMessage hello, XAddressInfo targetXAddrInfo, CredentialInfo credentialInfo)
public void send(ByeMessage bye, XAddressInfo targetXAddrInfo, CredentialInfo credentialInfo)
public void send(ProbeMessage probe, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(GetMessage get, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(GetMetadataMessage getMetadata, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(SubscribeMessage subscribe, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(GetStatusMessage getStatus, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(RenewMessage renew, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(UnsubscribeMessage unsubscribe, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(SubscriptionEndMessage subscriptionEnd, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void send(InvokeMessage invoke, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void sendGenericMessage(Message msg, XAddressInfo targetXAdrInfo, CredentialInfo credentialInfo, ResponseCallback callback)
public void sendGenericMessageToOutgoingDiscoveryInfo(Message msg, ProtocolInfo protocolInfo, Set outgoingDiscoveryInfos, ResponseCallback callback)
public void registerHelloListener(IncomingMessageListener listener)
public void unregisterHelloListener(LocalIncomingMessageListener listener)