zyneo.sms.gateway.adaptor.rmi.client
Interface Factory

All Superinterfaces:
java.rmi.Remote

public interface Factory
extends java.rmi.Remote

This is the primary RMI-interface for the RMI-adaptor. This is the interface bound to a name and made availible to clients. This interface is used to create connections to sending, receiving and notifications subsystems.

Author:
Niklas Andersson
See Also:
SendSocket, ReceiveSocket

Method Summary
 ReceiveSocket createReceiveSocket()
          Creates a receive socket to default receive box.
 ReceiveSocket createReceiveSocket(java.lang.String name)
          Creates a receive socket
 SendSocket createSendSocket()
          Creates a sending socket
 

Method Detail

createSendSocket

public SendSocket createSendSocket()
                            throws java.rmi.RemoteException
Creates a sending socket

Returns:
a SendingSocket
java.rmi.RemoteException

createReceiveSocket

public ReceiveSocket createReceiveSocket()
                                  throws java.rmi.RemoteException
Creates a receive socket to default receive box.

Returns:
a receive socket.
java.rmi.RemoteException

createReceiveSocket

public ReceiveSocket createReceiveSocket(java.lang.String name)
                                  throws java.rmi.RemoteException
Creates a receive socket

Parameters:
name - name of box to connect to.
Returns:
a receive socket.
java.rmi.RemoteException


Copyright © 2002 Zyneo. All Rights Reserved.