| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mq.il.uil2.ServerSocketManagerHandler
This is the SocketManager callback handler for the UIL2 server side socket. This handles messages that are requests from clients.
| Field Summary | 
| Fields inherited from interface org.jboss.mq.il.uil2.msgs.MsgTypes | 
| m_acknowledge, m_addMessage, m_authenticate, m_browse, m_checkID, m_checkUser, m_close, m_connectionClosing, m_createQueue, m_createTopic, m_deleteTemporaryDestination, m_destroySubscription, m_getID, m_getTemporaryQueue, m_getTemporaryTopic, m_ping, m_pong, m_receive, m_receiveRequest, m_setEnabled, m_setSpyDistributedConnection, m_subscribe, m_transact, m_unsubscribe | 
| Constructor Summary | |
| ServerSocketManagerHandler(Invoker server,
                           SocketManager socketMgr) | |
| Method Summary | |
|  void | asynchFailure(String error,
              Throwable e)Report a connection failure | 
|  void | close()Handle closedown, this maybe invoked many times due to an explicit close and/or a connection failure. | 
|  void | handleMsg(BaseMsg msg)The callback from the SocketManager | 
|  void | onStreamNotification(Object stream,
                     int size)Handle a stream notification | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ServerSocketManagerHandler(Invoker server, SocketManager socketMgr)
| Method Detail | 
public void handleMsg(BaseMsg msg) throws Exception
handleMsg in interface SocketManagerHandlermsg - 
Exception - for any errorpublic void onStreamNotification(Object stream, int size)
SocketManagerHandler
onStreamNotification in interface SocketManagerHandlerstream - the streamsize - the bytes since the last notificationpublic void asynchFailure(String error, Throwable e)
SocketManagerHandler
asynchFailure in interface SocketManagerHandlererror - the error textpublic void close()
SocketManagerHandler
close in interface SocketManagerHandler| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||