1
package org.jboss.remoting.samples.chat.server;
3
import org.jboss.remoting.samples.chat.client.ChatInfo;
4
import org.jboss.remoting.samples.chat.client.ChatMember;
5
import org.jboss.remoting.samples.chat.client.ChatMessage;
6
import org.jboss.remoting.samples.chat.exceptions.RemoteConnectionException;
7
import org.jboss.remoting.samples.chat.exceptions.ShuttingDownException;
9
public interface ChatServer
11
void send(ChatMessage mesg) throws RemoteConnectionException, ShuttingDownException;
12
ChatInfo getChatInfo() throws RemoteConnectionException, ShuttingDownException;
13
java.util.ArrayList getBackChat() throws RemoteConnectionException, ShuttingDownException;
14
void leave(ChatMember member) throws RemoteConnectionException, ShuttingDownException;