Openwings API Documentation (v1.1)

net.openwings.connector.synchronous
Class SynchronousConnector

java.lang.Object
  extended bynet.openwings.connector.Connector
      extended bynet.openwings.connector.synchronous.SynchronousConnector
All Implemented Interfaces:
java.io.Serializable

public abstract class SynchronousConnector
extends Connector
implements java.io.Serializable

This class contains the proxies for a synchronous connector. This contains a ProviderProxy and a UserProxy which are stored as the ReceiverProxy and SenderProxy of the superclass Connector.

See Also:
ProviderProxy, UserProxy, Connector, Serialized Form

Field Summary
 
Fields inherited from class net.openwings.connector.Connector
attributes, receiverProxy, senderProxy
 
Constructor Summary
SynchronousConnector()
          Default constructor
SynchronousConnector(ProtocolAttributes attributes)
          This constructor allows the protocol-specific attributes to be passed
 
Method Summary
 ProviderProxy getProviderProxy()
          This method returns the receiverProxy of the superclass Connector as an instance of ProviderProxy
 UserProxy getUserProxy()
          This method returns the senderProxy of the superclass Connector as an instance of UserProxy
 
Methods inherited from class net.openwings.connector.Connector
getProtocolAttributes, getProtocolAttributesClass, getReceiverProxy, getSenderProxy, loadProxies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousConnector

public SynchronousConnector()
Default constructor


SynchronousConnector

public SynchronousConnector(ProtocolAttributes attributes)
This constructor allows the protocol-specific attributes to be passed

Parameters:
attributes - protocol-specific attributes for this connection
Method Detail

getProviderProxy

public ProviderProxy getProviderProxy()
This method returns the receiverProxy of the superclass Connector as an instance of ProviderProxy

Returns:
the receiverProxy of the superclass Connector as an instance of ProviderProxy
See Also:
Connector.getReceiverProxy()

getUserProxy

public UserProxy getUserProxy()
This method returns the senderProxy of the superclass Connector as an instance of UserProxy

Returns:
the senderProxy of the superclass Connector as an instance of UserProxy.
See Also:
Connector.getSenderProxy()

Openwings API Documentation (v1.1)