public class MDPWSCommunicationManager
extends org.ws4d.java.communication.DPWSCommunicationManager
| Constructor and Description |
|---|
MDPWSCommunicationManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAndSendTCPMessage(org.ws4d.java.message.Message message,
org.ws4d.java.communication.callback.ResponseCallback callback,
org.ws4d.java.types.XAddressInfo targetXAddrInfo,
org.ws4d.java.security.CredentialInfo credentialInfo) |
protected void |
closeStreamSocket(org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.service.LocalService service) |
java.lang.String |
getCommunicationManagerId() |
org.ws4d.java.communication.structures.DiscoveryBinding |
getDiscoveryBinding(org.ws4d.java.communication.ConnectionInfo data) |
org.ws4d.java.structures.DataStructure |
getDiscoveryBindings(org.ws4d.java.communication.structures.CommunicationBinding binding) |
protected org.ws4d.java.communication.protocol.soap.server.SOAPoverUDPServer |
getSOAPoverUDPServerStreaming(org.ws4d.java.communication.connection.ip.IPAddress streamAddress,
int port,
org.ws4d.java.communication.connection.ip.NetworkInterface iFace) |
protected void |
openStreamSocket(org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.communication.listener.IncomingMessageListener listener) |
void |
registerService(int[] messageTypes,
org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.communication.listener.IncomingMessageListener listener,
org.ws4d.java.service.LocalService service) |
void |
start() |
void |
stop() |
void |
unregisterService(int[] messageTypes,
org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.service.LocalService service) |
adaptDeviceTypes, adaptServiceTypes, checkIfAddressIsAnyLocalThenInterface, containsAllDeviceTypes, containsAllSearchScopes, containsAllServiceTypes, createActionNotSupportedFault, createAuthorizationFault, createDynamicEndpointReference, createEndpointUnavailableFault, createEventingException, createGenericFault, createInvalidAddressingHeaderFault, createInvocationException, createInvocationExceptionSOAPFault, createInvocationFault, createMessageAddressingHeaderRequiredFault, createProtocolInfo, createProtocolInfo, createSubscriptionFault, getAddressFilter, getAllAvailableDiscoveryDomains, getAllAvailableDiscoveryDomainsSize, getAutoBindingFactory, getAvailableOutgoingDiscoveryInfos, getChildren, getCommunicationBinding, getDeviceType, getDeviceTypes, getDiscoveryBinding, getHelper, getHelper, getMessageIDsForGetMetadataMapping, getMetadataValidator, getMulticastAddressAndPortForDiscoveryBinding, getMulticastAddressAndPortForOutgoingDiscoveryInfo, getOutgoingDiscoveryInfo, getOutgoingDiscoveryInfo, getOutgoingDiscoveryInfos, getRandomApplicationDelay, getRegisterForGetMetadata, getResourceAsStream, getSOAPoverUDPServer, getSupportedVersions, init, isMessageComplyingWithSecurityRequirements, isTransportAddress, kill, newDescriptionParser, newDescriptionSerializer, registerDevice, registerDiscovery, registerResource, send, send, send, serializeMessageWithAttachments, serializeMessageWithAttachments, setAddressFilter, supportsAddressingNamespace, supportsDiscoveryNamespace, supportsEventingFilterDialect, supportsEventingNamespace, unregisterDevice, unregisterDiscovery, unregisterResource, validateMessagepublic java.lang.String getCommunicationManagerId()
getCommunicationManagerId in interface org.ws4d.java.communication.CommunicationManagergetCommunicationManagerId in class org.ws4d.java.communication.DPWSCommunicationManagerpublic void start()
throws java.io.IOException
start in interface org.ws4d.java.communication.CommunicationManagerInternalstart in class org.ws4d.java.communication.DPWSCommunicationManagerjava.io.IOExceptionpublic void stop()
stop in interface org.ws4d.java.communication.CommunicationManagerInternalstop in class org.ws4d.java.communication.DPWSCommunicationManagerprotected void checkAndSendTCPMessage(org.ws4d.java.message.Message message,
org.ws4d.java.communication.callback.ResponseCallback callback,
org.ws4d.java.types.XAddressInfo targetXAddrInfo,
org.ws4d.java.security.CredentialInfo credentialInfo)
throws org.ws4d.java.util.WS4DIllegalStateException
checkAndSendTCPMessage in class org.ws4d.java.communication.DPWSCommunicationManagerorg.ws4d.java.util.WS4DIllegalStateExceptionpublic void registerService(int[] messageTypes,
org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.communication.listener.IncomingMessageListener listener,
org.ws4d.java.service.LocalService service)
throws java.io.IOException,
org.ws4d.java.util.WS4DIllegalStateException
registerService in interface org.ws4d.java.communication.CommunicationManagerregisterService in class org.ws4d.java.communication.DPWSCommunicationManagerjava.io.IOExceptionorg.ws4d.java.util.WS4DIllegalStateExceptionpublic void unregisterService(int[] messageTypes,
org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.service.LocalService service)
throws java.io.IOException,
org.ws4d.java.util.WS4DIllegalStateException
unregisterService in interface org.ws4d.java.communication.CommunicationManagerunregisterService in class org.ws4d.java.communication.DPWSCommunicationManagerjava.io.IOExceptionorg.ws4d.java.util.WS4DIllegalStateExceptionpublic org.ws4d.java.structures.DataStructure getDiscoveryBindings(org.ws4d.java.communication.structures.CommunicationBinding binding)
getDiscoveryBindings in interface org.ws4d.java.communication.CommunicationManagergetDiscoveryBindings in class org.ws4d.java.communication.DPWSCommunicationManagerpublic org.ws4d.java.communication.structures.DiscoveryBinding getDiscoveryBinding(org.ws4d.java.communication.ConnectionInfo data)
getDiscoveryBinding in interface org.ws4d.java.communication.CommunicationManagergetDiscoveryBinding in class org.ws4d.java.communication.DPWSCommunicationManagerprotected void closeStreamSocket(org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.service.LocalService service)
throws java.io.IOException
java.io.IOExceptionprotected void openStreamSocket(org.ws4d.java.communication.structures.CommunicationBinding binding,
org.ws4d.java.communication.listener.IncomingMessageListener listener)
protected org.ws4d.java.communication.protocol.soap.server.SOAPoverUDPServer getSOAPoverUDPServerStreaming(org.ws4d.java.communication.connection.ip.IPAddress streamAddress,
int port,
org.ws4d.java.communication.connection.ip.NetworkInterface iFace)