org.jboss.remoting.samples.chat.client
Class RemoteStrategyRemoting

java.lang.Object
  extended by org.jboss.remoting.samples.chat.client.RemoteStrategyRemoting
All Implemented Interfaces:
RemoteStrategy

public class RemoteStrategyRemoting
extends java.lang.Object
implements RemoteStrategy

A RemoteStrategyRemoting.

Version:
$Revision: 735 $

Copyright (c) 2005

Author:
Ron Sigal

Field Summary
protected static org.jboss.logging.Logger log
           
 
Constructor Summary
RemoteStrategyRemoting()
           
 
Method Summary
 ChatServer createChat(java.lang.String description, ChatMember owner, TalkFrame talkFrame, ReadWriteArrayList outgoingLines)
           
 ChatServer join(java.lang.String key, ChatMember newMember, TalkFrame talkFrame, ReadWriteArrayList outgoingLines)
           
 java.util.ArrayList list()
           
 void setShuttingDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.jboss.logging.Logger log
Constructor Detail

RemoteStrategyRemoting

public RemoteStrategyRemoting()
                       throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

list

public java.util.ArrayList list()
                         throws RemoteConnectionException,
                                ShuttingDownException
Specified by:
list in interface RemoteStrategy
Throws:
RemoteConnectionException
ShuttingDownException

createChat

public ChatServer createChat(java.lang.String description,
                             ChatMember owner,
                             TalkFrame talkFrame,
                             ReadWriteArrayList outgoingLines)
                      throws NameInUseException,
                             RemoteConnectionException,
                             ShuttingDownException
Specified by:
createChat in interface RemoteStrategy
Throws:
NameInUseException
RemoteConnectionException
ShuttingDownException

join

public ChatServer join(java.lang.String key,
                       ChatMember newMember,
                       TalkFrame talkFrame,
                       ReadWriteArrayList outgoingLines)
                throws NameInUseException,
                       RemoteConnectionException,
                       ShuttingDownException
Specified by:
join in interface RemoteStrategy
Throws:
NameInUseException
RemoteConnectionException
ShuttingDownException

setShuttingDown

public void setShuttingDown()
Specified by:
setShuttingDown in interface RemoteStrategy


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.