| java.lang.Object org.jboss.mq.il.oil2.OIL2ServerIL
Method Summary | |
public void | acknowledge(ConnectionToken dc, AcknowledgementRequest item) | public void | addMessage(ConnectionToken dc, SpyMessage val) | public String | authenticate(String userName, String password) | public SpyMessage[] | browse(ConnectionToken dc, Destination dest, String selector) | public void | checkID(String ID) | public String | checkUser(String userName, String password) | public Object | clone() | public ServerIL | cloneServerIL() Need to clone because there are instance variables tha can get clobbered. | public synchronized void | close() | public synchronized void | connect() | public void | connectionClosing(ConnectionToken dc) | public Queue | createQueue(ConnectionToken dc, String dest) | public Topic | createTopic(ConnectionToken dc, String dest) | public void | deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) | public void | destroySubscription(ConnectionToken dc, DurableSubscriptionID id) | public String | getID() | public TemporaryQueue | getTemporaryQueue(ConnectionToken dc) | public TemporaryTopic | getTemporaryTopic(ConnectionToken dc) | public void | ping(ConnectionToken dc, long clientTime) | public SpyMessage | receive(ConnectionToken dc, int subscriberId, long wait) | public void | setConnectionToken(ConnectionToken dest) | public void | setEnabled(ConnectionToken dc, boolean enabled) | public void | subscribe(ConnectionToken dc, org.jboss.mq.Subscription s) | public void | transact(org.jboss.mq.ConnectionToken dc, TransactionRequest t) | public void | unsubscribe(ConnectionToken dc, int subscriptionId) |
serialVersionUID | final static long serialVersionUID(Code) | | |
OIL2ServerIL | public OIL2ServerIL(String addr, int port, String socketFactoryName, boolean enableTcpNoDelay)(Code) | | Constructor for the OILServerIL object
addr, the server host or ip port, the server port socketFactoryName, the name of the javax.net.SocketFactory to use enableTcpNoDelay, |
acknowledge | public void acknowledge(ConnectionToken dc, AcknowledgementRequest item) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: item - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
addMessage | public void addMessage(ConnectionToken dc, SpyMessage val) throws Exception(Code) | | Adds a feature to the Message attribute of the OILServerIL object
Parameters: dc - The feature to be added to the Message attribute Parameters: val - The feature to be added to the Message attribute exception: Exception - Description of Exception |
authenticate | public String authenticate(String userName, String password) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: userName - Description of Parameter Parameters: password - Description of Parameter Description of the Returned Value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
browse | public SpyMessage[] browse(ConnectionToken dc, Destination dest, String selector) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: dest - Description of Parameter Parameters: selector - Description of Parameter Description of the Returned Value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
checkID | public void checkID(String ID) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: ID - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
checkUser | public String checkUser(String userName, String password) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: userName - Description of Parameter Parameters: password - Description of Parameter Description of the Returned Value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
cloneServerIL | public ServerIL cloneServerIL() throws Exception(Code) | | Need to clone because there are instance variables tha can get clobbered.
All Multiple connections can NOT share the same JVMServerIL object
Description of the Returned Value exception: Exception - Description of Exception |
close | public synchronized void close()(Code) | | Used to close the current connection with the server
exception: Exception - Description of Exception |
connectionClosing | public void connectionClosing(ConnectionToken dc) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
createQueue | public Queue createQueue(ConnectionToken dc, String dest) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: dest - Description of Parameter Description of the Returned Value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
createTopic | public Topic createTopic(ConnectionToken dc, String dest) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: dest - Description of Parameter Description of the Returned Value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
deleteTemporaryDestination | public void deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: dest - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
getID | public String getID() throws Exception(Code) | | Gets the ID attribute of the OILServerIL object
The ID value exception: Exception - Description of Exception |
getTemporaryQueue | public TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws JMSException, Exception(Code) | | Gets the TemporaryQueue attribute of the OILServerIL object
Parameters: dc - Description of Parameter The TemporaryQueue value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
getTemporaryTopic | public TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws JMSException, Exception(Code) | | Gets the TemporaryTopic attribute of the OILServerIL object
Parameters: dc - Description of Parameter The TemporaryTopic value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
ping | public void ping(ConnectionToken dc, long clientTime) throws Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: clientTime - Description of Parameter exception: Exception - Description of Exception |
receive | public SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws Exception, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: subscriberId - Description of Parameter Parameters: wait - Description of Parameter Description of the Returned Value exception: Exception - Description of Exception |
setConnectionToken | public void setConnectionToken(ConnectionToken dest) throws Exception(Code) | | Sets the ConnectionToken attribute of the OILServerIL object
Parameters: dest - The new ConnectionToken value exception: Exception - Description of Exception |
setEnabled | public void setEnabled(ConnectionToken dc, boolean enabled) throws JMSException, Exception(Code) | | Sets the Enabled attribute of the OILServerIL object
Parameters: dc - The new Enabled value Parameters: enabled - The new Enabled value exception: JMSException - Description of Exception exception: Exception - Description of Exception |
subscribe | public void subscribe(ConnectionToken dc, org.jboss.mq.Subscription s) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: s - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
unsubscribe | public void unsubscribe(ConnectionToken dc, int subscriptionId) throws JMSException, Exception(Code) | | #Description of the Method
Parameters: dc - Description of Parameter Parameters: subscriptionId - Description of Parameter exception: JMSException - Description of Exception exception: Exception - Description of Exception |
|
|