|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.il.uil2.UILClientILService
The UILClientILService runs on the client side of a JMS server connection and acts as a factory for the UILClientIL passed to the server. It also handles the callbacks from the client side SocketManager.
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 | |
UILClientILService()
|
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. |
ClientIL |
getClientIL()
getClientIL method comment. |
void |
handleMsg(BaseMsg msg)
Callback from the SocketManager |
void |
init(Connection connection,
Properties props)
init method comment. |
void |
onStreamNotification(Object stream,
int size)
Handle a stream notification |
void |
start()
Once started, the ClientIL instance should process all server requests. |
void |
stop()
Once stopped, the ClientIL instance stop processing all server requests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UILClientILService()
Method Detail |
public ClientIL getClientIL() throws Exception
getClientIL
in interface ClientILService
Exception
- Description of Exceptionpublic void init(Connection connection, Properties props) throws Exception
init
in interface ClientILService
connection
- Description of Parameterprops
- Description of Parameter
Exception
- Description of Exceptionpublic void handleMsg(BaseMsg msg) throws Exception
handleMsg
in interface SocketManagerHandler
msg
- the message to handler
Exception
- for any errorpublic void start() throws Exception
ClientILService
start
in interface ClientILService
Exception
- Description of Exceptionpublic void stop() throws Exception
ClientILService
stop
in interface ClientILService
Exception
- Description of Exceptionpublic void onStreamNotification(Object stream, int size)
SocketManagerHandler
onStreamNotification
in interface SocketManagerHandler
stream
- the streamsize
- the bytes since the last notificationpublic void asynchFailure(String error, Throwable e)
SocketManagerHandler
asynchFailure
in interface SocketManagerHandler
error
- 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 |