|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 (src) |
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(java.lang.String error,
java.lang.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 (src) |
getClientIL()
getClientIL method comment. |
void |
handleMsg(BaseMsg (src) msg)
Callback from the SocketManager |
void |
init(Connection (src) connection,
java.util.Properties props)
init method comment. |
void |
onStreamNotification(java.lang.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 (src) getClientIL()
throws java.lang.Exception
getClientIL in interface ClientILService (src) java.lang.Exception - Description of Exception
public void init(Connection (src) connection,
java.util.Properties props)
throws java.lang.Exception
init in interface ClientILService (src) connection - Description of Parameterprops - Description of Parameter
java.lang.Exception - Description of Exception
public void handleMsg(BaseMsg (src) msg)
throws java.lang.Exception
handleMsg in interface SocketManagerHandler (src) msg - the message to handler
java.lang.Exception - for any error
public void start()
throws java.lang.Exception
ClientILService (src)
start in interface ClientILService (src) java.lang.Exception - Description of Exception
public void stop()
throws java.lang.Exception
ClientILService (src)
stop in interface ClientILService (src) java.lang.Exception - Description of Exception
public void onStreamNotification(java.lang.Object stream,
int size)
SocketManagerHandler (src)
onStreamNotification in interface SocketManagerHandler (src) stream - the streamsize - the bytes since the last notification
public void asynchFailure(java.lang.String error,
java.lang.Throwable e)
SocketManagerHandler (src)
asynchFailure in interface SocketManagerHandler (src) error - the error textpublic void close()
SocketManagerHandler (src)
close in interface SocketManagerHandler (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||