net.openwings.connector.asynchronous
Class AsynchronousConnector
java.lang.Object
net.openwings.connector.Connector
net.openwings.connector.asynchronous.AsynchronousConnector
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class AsynchronousConnector
- extends Connector
- implements java.io.Serializable
This class contains the proxies for an asynchronous connector.
This contains a SubscriberProxy and
PublisherProxy, which are actually a
ReceiverProxy and a SenderProxy of the
superclass Connector.
The implementation of the SubscriberProxy and
PublisherProxy for this connector
must contain non-blocking methods.
- See Also:
SubscriberProxy,
PublisherProxy,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsynchronousConnector
public AsynchronousConnector()
- Default constructor
AsynchronousConnector
public AsynchronousConnector(ProtocolAttributes attributes)
- This constructor allows the protocol-specific attributes to be passed
- Parameters:
attributes - protocol-specific attributes for this connection
getSubscriberProxy
public SubscriberProxy getSubscriberProxy()
- This method returns the
receiverProxy of the superclass
Connector casted to a SubscriberProxy
- Returns:
- the
receiverProxy of the superclass
Connector casted to a SubscriberProxy - See Also:
Connector.getReceiverProxy()
getPublisherProxy
public PublisherProxy getPublisherProxy()
- This method returns the
senderProxy of the superclass
Connector casted to a PublisherProxy.
- Returns:
- the
senderProxy of the superclass
Connector casted to a PublisherProxy - See Also:
Connector.getSenderProxy()