Openwings API Documentation (v1.1)

net.openwings.connector
Interface SenderProxy

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
PublisherProxy, UserProxy

public interface SenderProxy
extends java.io.Serializable

This class contains the methods that are to be implemented by a service's sender proxy. These methods provide a standard interface for initializing, connecting, disconnecting and communicating through an arbitrary transport protocol to a ReceiverProxy. This interface also provides a standardization that can be used by generators for specific protocols.


Method Summary
 void connect()
          This method connects the SenderProxy to the ReceiverProxy over the network.
 void disconnect()
          This method disconnects the SenderProxy from the ReceiverProxy.
 

Method Detail

connect

public void connect()
             throws java.rmi.RemoteException
This method connects the SenderProxy to the ReceiverProxy over the network. This call will make the service methods available to the user.

Throws:
java.rmi.RemoteException - if an exception occurs when attempting to connect.

disconnect

public void disconnect()
                throws java.rmi.RemoteException
This method disconnects the SenderProxy from the ReceiverProxy. This call will make the service unavailable to the user.

Throws:
java.rmi.RemoteException - if an exception occurs when attempting to disconnect.

Openwings API Documentation (v1.1)