|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.remoting.samples.chat.server.ChatServer_Impl
public class ChatServer_Impl
Title: Chat4
Description:
Copyright: Copyright (c) 2003
Company:
Field Summary | |
---|---|
protected static org.jboss.logging.Logger |
log
|
Constructor Summary | |
---|---|
ChatServer_Impl(ExtendedChatInfo eci,
ShutDownGate sdg)
|
Method Summary | |
---|---|
void |
addListener(InvokerCallbackHandler callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler. |
protected java.util.ArrayList |
getBackChat(java.lang.Object[] args)
|
protected ChatInfo |
getChatInfo(java.lang.Object[] args)
|
java.lang.Object |
invoke(InvocationRequest invocation)
called to handle a specific invocation. |
protected void |
leave(java.lang.Object[] args)
|
void |
removeListener(InvokerCallbackHandler callbackHandler)
Removes the callback handler that was listening for callbacks from the server invoker handler. |
protected void |
send(java.lang.Object[] args)
|
void |
setInvoker(ServerInvoker invoker)
set the invoker that owns this handler |
void |
setMBeanServer(javax.management.MBeanServer server)
set the mbean server that the handler can reference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.remoting.ServerInvocationHandler |
---|
toString |
Field Detail |
---|
protected static final org.jboss.logging.Logger log
Constructor Detail |
---|
public ChatServer_Impl(ExtendedChatInfo eci, ShutDownGate sdg)
Method Detail |
---|
public java.lang.Object invoke(InvocationRequest invocation) throws java.lang.Throwable
ServerInvocationHandler
invoke
in interface ServerInvocationHandler
java.lang.Throwable
protected java.util.ArrayList getBackChat(java.lang.Object[] args) throws ShuttingDownException
ShuttingDownException
protected ChatInfo getChatInfo(java.lang.Object[] args) throws ShuttingDownException
ShuttingDownException
protected void leave(java.lang.Object[] args) throws ShuttingDownException
ShuttingDownException
protected void send(java.lang.Object[] args) throws ShuttingDownException
ShuttingDownException
public void setMBeanServer(javax.management.MBeanServer server)
ServerInvocationHandler
setMBeanServer
in interface ServerInvocationHandler
public void setInvoker(ServerInvoker invoker)
ServerInvocationHandler
setInvoker
in interface ServerInvocationHandler
public void addListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
addListener
in interface ServerInvocationHandler
public void removeListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
removeListener
in interface ServerInvocationHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |