interfaces
Interface WSIDOClientInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
WSIDOClientImpl

public interface WSIDOClientInterface
extends java.rmi.Remote


Method Summary
 boolean acceptRequest(StandardUser user)
          asks the user if he wants to accept the chat request from another user
 boolean receiveMessage(java.lang.String message, StandardUser user)
          allows the user to receive messages from a specific user.
 

Method Detail

receiveMessage

boolean receiveMessage(java.lang.String message,
                       StandardUser user)
                       throws java.rmi.RemoteException
allows the user to receive messages from a specific user.

Parameters:
message - the message the user wants to send
user - the user who sends the message
Returns:
true if received message else false
Throws:
java.rmi.RemoteException

acceptRequest

boolean acceptRequest(StandardUser user)
                      throws java.rmi.RemoteException
asks the user if he wants to accept the chat request from another user

Parameters:
user - the user who wants to chat
Returns:
answer from this user if he wants to chat
Throws:
java.rmi.RemoteException