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