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

All Superinterfaces:
java.rmi.Remote

public interface SendSocket
extends java.rmi.Remote

This interface defines the interface used by clients to the RMI-adaptor when sending SMS-messages.

Author:
Niklas Andersson

Method Summary
 void close()
          Closes this socket
 java.lang.Long send(Sms s)
          Sends a Sms message
 

Method Detail

send

public java.lang.Long send(Sms s)
                    throws java.rmi.RemoteException,
                           java.lang.InterruptedException
Sends a Sms message

Parameters:
s - message to send
Returns:
Long an identifier for the sent message.
Throws:
RemoteException, - InterruptedException
java.rmi.RemoteException
java.lang.InterruptedException

close

public void close()
           throws java.rmi.RemoteException
Closes this socket

Throws:
java.rmi.RemoteException


Copyright © 2002 Zyneo. All Rights Reserved.