|
||||||||||
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.UILServerIL
The UILServerIL is created on the server and copied to the client during connection factory lookups. It represents the transport interface to the JMS server.
Field Summary | |
protected java.net.Socket |
socket
Description of the Field |
protected SocketManager (src) |
socketMgr
Description of the Field |
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 | |
UILServerIL(java.net.InetAddress addr,
int port,
java.lang.String socketFactoryName,
boolean enableTcpNoDelay,
int bufferSize,
int chunkSize)
|
Method Summary | |
void |
acknowledge(ConnectionToken (src) dc,
AcknowledgementRequest (src) item)
#Description of the Method |
void |
addMessage(ConnectionToken (src) dc,
SpyMessage (src) val)
Adds a feature to the Message attribute of the UILServerIL object |
java.lang.String |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate the user |
SpyMessage (src) [] |
browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
#Description of the Method |
protected void |
checkConnection()
#Description of the Method |
void |
checkID(java.lang.String id)
#Description of the Method |
java.lang.String |
checkUser(java.lang.String username,
java.lang.String password)
#Description of the Method |
java.lang.Object |
clone()
#Description of the Method |
ServerIL (src) |
cloneServerIL()
Need to clone because there are instance variables tha can get clobbered. |
void |
connectionClosing(ConnectionToken (src) dc)
#Description of the Method |
protected void |
createConnection()
Used to establish a new connection to the server |
Queue (src) |
createQueue(ConnectionToken (src) dc,
java.lang.String destName)
#Description of the Method |
Topic (src) |
createTopic(ConnectionToken (src) dc,
java.lang.String destName)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
#Description of the Method |
protected void |
destroyConnection()
Used to close the current connection with the server |
void |
destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
#Description of the Method |
java.lang.String |
getID()
Gets the ID attribute of the UILServerIL object |
TemporaryQueue (src) |
getTemporaryQueue(ConnectionToken (src) dc)
Gets the TemporaryQueue attribute of the UILServerIL object |
TemporaryTopic (src) |
getTemporaryTopic(ConnectionToken (src) dc)
Gets the TemporaryTopic attribute of the UILServerIL object |
void |
ping(ConnectionToken (src) dc,
long clientTime)
#Description of the Method |
SpyMessage (src) |
receive(ConnectionToken (src) dc,
int subscriberId,
long wait)
#Description of the Method |
void |
setConnectionToken(ConnectionToken (src) dest)
Sets the ConnectionToken attribute of the UILServerIL object |
void |
setEnabled(ConnectionToken (src) dc,
boolean enabled)
Sets the Enabled attribute of the UILServerIL object |
void |
subscribe(ConnectionToken (src) dc,
Subscription (src) s)
#Description of the Method |
void |
transact(ConnectionToken (src) dc,
TransactionRequest (src) t)
#Description of the Method |
void |
unsubscribe(ConnectionToken (src) dc,
int subscriptionID)
#Description of the Method |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient java.net.Socket socket
protected transient SocketManager (src) socketMgr
Constructor Detail |
public UILServerIL(java.net.InetAddress addr, int port, java.lang.String socketFactoryName, boolean enableTcpNoDelay, int bufferSize, int chunkSize) throws java.lang.Exception
addr
- port
- socketFactoryName
- enableTcpNoDelay
- bufferSize
- chunkSize
-
java.lang.Exception
Method Detail |
public void setConnectionToken(ConnectionToken (src) dest) throws java.lang.Exception
setConnectionToken
in interface ServerIL (src)
dest
- The new ConnectionToken value
java.lang.Exception
- Description of Exceptionpublic void setEnabled(ConnectionToken (src) dc, boolean enabled) throws JMSException (src) , java.lang.Exception
setEnabled
in interface ServerIL (src)
dc
- The new Enabled valueenabled
- The new Enabled value
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic java.lang.String getID() throws java.lang.Exception
getID
in interface ServerIL (src)
java.lang.Exception
- Description of Exceptionpublic TemporaryQueue (src) getTemporaryQueue(ConnectionToken (src) dc) throws JMSException (src) , java.lang.Exception
getTemporaryQueue
in interface ServerIL (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic TemporaryTopic (src) getTemporaryTopic(ConnectionToken (src) dc) throws JMSException (src) , java.lang.Exception
getTemporaryTopic
in interface ServerIL (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void acknowledge(ConnectionToken (src) dc, AcknowledgementRequest (src) item) throws JMSException (src) , java.lang.Exception
acknowledge
in interface ServerIL (src)
dc
- Description of Parameteritem
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void addMessage(ConnectionToken (src) dc, SpyMessage (src) val) throws java.lang.Exception
addMessage
in interface ServerIL (src)
dc
- The feature to be added to the Message attributeval
- The feature to be added to the Message attribute
java.lang.Exception
- Description of Exceptionpublic SpyMessage (src) [] browse(ConnectionToken (src) dc, Destination (src) dest, java.lang.String selector) throws JMSException (src) , java.lang.Exception
browse
in interface ServerIL (src)
dc
- Description of Parameterdest
- Description of Parameterselector
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void checkID(java.lang.String id) throws JMSException (src) , java.lang.Exception
checkID
in interface ServerIL (src)
id
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic java.lang.String checkUser(java.lang.String username, java.lang.String password) throws JMSException (src) , java.lang.Exception
checkUser
in interface ServerIL (src)
username
- Description of Parameterpassword
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic java.lang.String authenticate(java.lang.String username, java.lang.String password) throws JMSException (src) , java.lang.Exception
authenticate
in interface ServerIL (src)
username
- Description of Parameterpassword
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- Description of Exceptionpublic ServerIL (src) cloneServerIL() throws java.lang.Exception
cloneServerIL
in interface ServerIL (src)
java.lang.Exception
- Description of Exceptionpublic void connectionClosing(ConnectionToken (src) dc) throws JMSException (src) , java.lang.Exception
connectionClosing
in interface ServerIL (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic Queue (src) createQueue(ConnectionToken (src) dc, java.lang.String destName) throws JMSException (src) , java.lang.Exception
createQueue
in interface ServerIL (src)
dc
- - the destination connection tokendestName
- - the name of the destination
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic Topic (src) createTopic(ConnectionToken (src) dc, java.lang.String destName) throws JMSException (src) , java.lang.Exception
createTopic
in interface ServerIL (src)
dc
- - the destination connection tokendestName
- - the name of the destination
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken (src) dc, SpyDestination (src) dest) throws JMSException (src) , java.lang.Exception
deleteTemporaryDestination
in interface ServerIL (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void destroySubscription(ConnectionToken (src) dc, DurableSubscriptionID (src) id) throws JMSException (src) , java.lang.Exception
destroySubscription
in interface ServerIL (src)
id
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void ping(ConnectionToken (src) dc, long clientTime) throws java.lang.Exception
ping
in interface ServerIL (src)
dc
- Description of ParameterclientTime
- Description of Parameter
java.lang.Exception
- Description of Exceptionpublic SpyMessage (src) receive(ConnectionToken (src) dc, int subscriberId, long wait) throws java.lang.Exception, java.lang.Exception
receive
in interface ServerIL (src)
dc
- Description of ParametersubscriberId
- Description of Parameterwait
- Description of Parameter
java.lang.Exception
- Description of Exceptionpublic void subscribe(ConnectionToken (src) dc, Subscription (src) s) throws JMSException (src) , java.lang.Exception
subscribe
in interface ServerIL (src)
dc
- Description of Parameters
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void transact(ConnectionToken (src) dc, TransactionRequest (src) t) throws JMSException (src) , java.lang.Exception
transact
in interface ServerIL (src)
dc
- Description of Parametert
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionpublic void unsubscribe(ConnectionToken (src) dc, int subscriptionID) throws JMSException (src) , java.lang.Exception
unsubscribe
in interface ServerIL (src)
dc
- - the destination connection tokensubscriptionID
- Description of Parameter
JMSException (src)
- Description of Exception
java.lang.Exception
- Description of Exceptionprotected void checkConnection() throws java.lang.Exception
java.lang.Exception
- Description of Exceptionprotected void createConnection() throws java.lang.Exception
java.lang.Exception
- Description of Exceptionprotected void destroyConnection()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |