public class DefaultStreamConsumer extends java.lang.Object implements IStreamConsumer, org.ws4d.java.communication.listener.IncomingMessageListener
| Constructor and Description |
|---|
DefaultStreamConsumer(ProxyStreamSource sourceInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStreamFrameHandler(IStreamFrameHandler handler) |
void |
close() |
void |
exclusiveLock() |
org.ws4d.java.security.CredentialInfo |
getCredentialInfo() |
org.ws4d.java.eventing.EventSource |
getEvent(java.lang.String action) |
protected org.ws4d.java.structures.HashMap |
getFrameHandlerMap() |
org.ws4d.java.service.OperationDescription |
getOperation(java.lang.String action) |
ProxyStreamSource |
getStreamSource() |
void |
handle(org.ws4d.java.message.discovery.ByeMessage bye,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.metadata.GetResponseMessage |
handle(org.ws4d.java.message.metadata.GetMessage get,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.metadata.GetMetadataResponseMessage |
handle(org.ws4d.java.message.metadata.GetMetadataMessage getMetadata,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.eventing.GetStatusResponseMessage |
handle(org.ws4d.java.message.eventing.GetStatusMessage getStatus,
org.ws4d.java.communication.ConnectionInfo protocolData) |
void |
handle(org.ws4d.java.message.discovery.HelloMessage hello,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.InvokeMessage |
handle(org.ws4d.java.message.InvokeMessage invokeRequest,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.discovery.ProbeMatchesMessage |
handle(org.ws4d.java.message.discovery.ProbeMessage probe,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.eventing.RenewResponseMessage |
handle(org.ws4d.java.message.eventing.RenewMessage renew,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.discovery.ResolveMatchesMessage |
handle(org.ws4d.java.message.discovery.ResolveMessage resolve,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.eventing.SubscribeResponseMessage |
handle(org.ws4d.java.message.eventing.SubscribeMessage subscribe,
boolean useReferenceParameterMode,
org.ws4d.java.communication.ConnectionInfo connectionInfo) |
void |
handle(org.ws4d.java.message.eventing.SubscriptionEndMessage subscriptionEnd,
org.ws4d.java.communication.ConnectionInfo protocolData) |
org.ws4d.java.message.eventing.UnsubscribeResponseMessage |
handle(org.ws4d.java.message.eventing.UnsubscribeMessage unsubscribe,
org.ws4d.java.communication.ConnectionInfo protocolData) |
void |
handlingInvokeInternal(org.ws4d.java.message.InvokeMessage invokeRequest,
org.ws4d.java.communication.ConnectionInfo protocolData) |
void |
open() |
boolean |
releaseExclusiveLock() |
void |
releaseSharedLock() |
void |
sharedLock() |
boolean |
tryExclusiveLock() |
boolean |
trySharedLock() |
public DefaultStreamConsumer(ProxyStreamSource sourceInfo)
public void addStreamFrameHandler(IStreamFrameHandler handler)
addStreamFrameHandler in interface IStreamConsumerprotected org.ws4d.java.structures.HashMap getFrameHandlerMap()
public ProxyStreamSource getStreamSource()
public void open()
throws java.io.IOException
open in interface IStreamConsumerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface IStreamConsumerjava.io.IOExceptionpublic void exclusiveLock()
public boolean releaseExclusiveLock()
public void releaseSharedLock()
public void sharedLock()
public boolean tryExclusiveLock()
public boolean trySharedLock()
public void handle(org.ws4d.java.message.discovery.HelloMessage hello,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic void handle(org.ws4d.java.message.discovery.ByeMessage bye,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.discovery.ProbeMatchesMessage handle(org.ws4d.java.message.discovery.ProbeMessage probe,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.discovery.ResolveMatchesMessage handle(org.ws4d.java.message.discovery.ResolveMessage resolve,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.metadata.GetResponseMessage handle(org.ws4d.java.message.metadata.GetMessage get,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.metadata.GetMetadataResponseMessage handle(org.ws4d.java.message.metadata.GetMetadataMessage getMetadata,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.eventing.GetStatusResponseMessage handle(org.ws4d.java.message.eventing.GetStatusMessage getStatus,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.eventing.RenewResponseMessage handle(org.ws4d.java.message.eventing.RenewMessage renew,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.eventing.UnsubscribeResponseMessage handle(org.ws4d.java.message.eventing.UnsubscribeMessage unsubscribe,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic void handle(org.ws4d.java.message.eventing.SubscriptionEndMessage subscriptionEnd,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.service.OperationDescription getOperation(java.lang.String action)
getOperation in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.message.InvokeMessage handle(org.ws4d.java.message.InvokeMessage invokeRequest,
org.ws4d.java.communication.ConnectionInfo protocolData)
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic void handlingInvokeInternal(org.ws4d.java.message.InvokeMessage invokeRequest,
org.ws4d.java.communication.ConnectionInfo protocolData)
public org.ws4d.java.message.eventing.SubscribeResponseMessage handle(org.ws4d.java.message.eventing.SubscribeMessage subscribe,
boolean useReferenceParameterMode,
org.ws4d.java.communication.ConnectionInfo connectionInfo)
throws org.ws4d.java.message.SOAPException
handle in interface org.ws4d.java.communication.listener.IncomingMessageListenerorg.ws4d.java.message.SOAPExceptionpublic org.ws4d.java.eventing.EventSource getEvent(java.lang.String action)
getEvent in interface org.ws4d.java.communication.listener.IncomingMessageListenerpublic org.ws4d.java.security.CredentialInfo getCredentialInfo()
getCredentialInfo in interface org.ws4d.java.communication.listener.IncomingMessageListener