|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.il.oil2.OIL2ServerIL
The JVM implementation of the ServerIL object
| Field Summary | |
static byte |
CLIENT_CLOSE
|
static byte |
CLIENT_DELETE_TEMPORARY_DESTINATION
|
static byte |
CLIENT_PONG
|
static byte |
CLIENT_RECEIVE
|
static byte |
RESULT_EXCEPTION
|
static byte |
RESULT_OBJECT
|
static byte |
RESULT_VOID
|
static byte |
SERVER_ACKNOWLEDGE
|
static byte |
SERVER_ADD_MESSAGE
|
static byte |
SERVER_AUTHENTICATE
|
static byte |
SERVER_BROWSE
|
static byte |
SERVER_CHECK_ID
|
static byte |
SERVER_CHECK_USER
|
static byte |
SERVER_CLOSE
|
static byte |
SERVER_CONNECTION_CLOSING
|
static byte |
SERVER_CREATE_QUEUE
|
static byte |
SERVER_CREATE_TOPIC
|
static byte |
SERVER_DELETE_TEMPORARY_DESTINATION
|
static byte |
SERVER_DESTROY_SUBSCRIPTION
|
static byte |
SERVER_GET_ID
|
static byte |
SERVER_GET_TEMPORARY_QUEUE
|
static byte |
SERVER_GET_TEMPORARY_TOPIC
|
static byte |
SERVER_PING
|
static byte |
SERVER_RECEIVE
|
static byte |
SERVER_SET_ENABLED
|
static byte |
SERVER_SET_SPY_DISTRIBUTED_CONNECTION
|
static byte |
SERVER_SUBSCRIBE
|
static byte |
SERVER_TRANSACT
|
static byte |
SERVER_UNSUBSCRIBE
|
| Constructor Summary | |
OIL2ServerIL(java.lang.String addr,
int port,
java.lang.String socketFactoryName,
boolean enableTcpNoDelay)
Constructor for the OILServerIL object |
|
| 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 OILServerIL object |
java.lang.String |
authenticate(java.lang.String userName,
java.lang.String password)
#Description of the Method |
SpyMessage (src) [] |
browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
#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 |
close()
Used to close the current connection with the server |
void |
connect()
|
void |
connectionClosing(ConnectionToken (src) dc)
#Description of the Method |
Queue (src) |
createQueue(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
Topic (src) |
createTopic(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
#Description of the Method |
java.lang.String |
getID()
Gets the ID attribute of the OILServerIL object |
TemporaryQueue (src) |
getTemporaryQueue(ConnectionToken (src) dc)
Gets the TemporaryQueue attribute of the OILServerIL object |
TemporaryTopic (src) |
getTemporaryTopic(ConnectionToken (src) dc)
Gets the TemporaryTopic attribute of the OILServerIL 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 OILServerIL object |
void |
setEnabled(ConnectionToken (src) dc,
boolean enabled)
Sets the Enabled attribute of the OILServerIL 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 |
public static final byte RESULT_VOID
public static final byte RESULT_OBJECT
public static final byte RESULT_EXCEPTION
public static final byte CLIENT_RECEIVE
public static final byte CLIENT_DELETE_TEMPORARY_DESTINATION
public static final byte CLIENT_CLOSE
public static final byte CLIENT_PONG
public static final byte SERVER_ACKNOWLEDGE
public static final byte SERVER_ADD_MESSAGE
public static final byte SERVER_BROWSE
public static final byte SERVER_CHECK_ID
public static final byte SERVER_CONNECTION_CLOSING
public static final byte SERVER_CREATE_QUEUE
public static final byte SERVER_CREATE_TOPIC
public static final byte SERVER_DELETE_TEMPORARY_DESTINATION
public static final byte SERVER_GET_ID
public static final byte SERVER_GET_TEMPORARY_QUEUE
public static final byte SERVER_GET_TEMPORARY_TOPIC
public static final byte SERVER_RECEIVE
public static final byte SERVER_SET_ENABLED
public static final byte SERVER_SET_SPY_DISTRIBUTED_CONNECTION
public static final byte SERVER_SUBSCRIBE
public static final byte SERVER_TRANSACT
public static final byte SERVER_UNSUBSCRIBE
public static final byte SERVER_DESTROY_SUBSCRIPTION
public static final byte SERVER_CHECK_USER
public static final byte SERVER_PING
public static final byte SERVER_CLOSE
public static final byte SERVER_AUTHENTICATE
| Constructor Detail |
public OIL2ServerIL(java.lang.String addr,
int port,
java.lang.String socketFactoryName,
boolean enableTcpNoDelay)
| Method Detail |
public void connect()
throws java.io.IOException
java.io.IOException
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 Exception
public 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 Exception
public java.lang.String getID()
throws java.lang.Exception
getID in interface ServerIL (src) java.lang.Exception - Description of Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - Description of Exception
public ServerIL (src) cloneServerIL()
throws java.lang.Exception
cloneServerIL in interface ServerIL (src) java.lang.Exception - Description of Exception
public 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 Exception
public Queue (src) createQueue(ConnectionToken (src) dc,
java.lang.String dest)
throws JMSException (src) ,
java.lang.Exception
createQueue in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameter
JMSException (src) - Description of Exception
java.lang.Exception - Description of Exception
public Topic (src) createTopic(ConnectionToken (src) dc,
java.lang.String dest)
throws JMSException (src) ,
java.lang.Exception
createTopic in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameter
JMSException (src) - Description of Exception
java.lang.Exception - Description of Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public void unsubscribe(ConnectionToken (src) dc,
int subscriptionId)
throws JMSException (src) ,
java.lang.Exception
unsubscribe in interface ServerIL (src) dc - Description of ParametersubscriptionId - Description of Parameter
JMSException (src) - Description of Exception
java.lang.Exception - Description of Exceptionpublic void close()
java.lang.Exception - Description of Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||