|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mq.jms.MQConnectionState
MQConnectionState is intended to be used privately inside instances of MQConnection so that they can maintain their state accurately by using syncronization. 10/05/07 AAE Created for APAR IY95370 to implement better state based locking within the MQConnection
Constructor Summary | |
MQConnectionState()
MQConnectionState Contructor. |
Method Summary | |
int |
getState()
Synchronized method used to obtain the state of the connection |
void |
setState(int newState)
Synchronized method used to alter the state of the connection |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MQConnectionState()
Method Detail |
public void setState(int newState)
newState
- - the new state for the connectionpublic int getState()
public java.lang.String toString()
toString
in class java.lang.Object
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |