Class Session
java.lang.Object
SMQPVisitorAdapter
com.swiftmq.impl.jms.standard.v750.SessionVisitor
com.swiftmq.impl.jms.standard.v750.Session
- Direct Known Subclasses:
NontransactedSession
,TransactedSession
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected <any>
protected SessionContext
protected int
protected JMSConnection
protected <any>
protected int
protected boolean
-
Constructor Summary
ModifierConstructorDescriptionSession
(String connectionTracePrefix, Entity sessionEntity, EventLoop outboundLoop, int dispatchId, ActiveLogin activeLogin) protected
Session
(String connectionTracePrefix, Entity sessionEntity, EventLoop outboundLoop, int dispatchId, ActiveLogin activeLogin, int ackMode) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
close()
protected boolean
isClosed()
protected boolean
void
void
serviceRequest
(Request request) void
setMyConnection
(JMSConnection myConnection) void
setRecoveryEpoche
(int recoveryEpoche) toString()
protected String
validateDestination
(String queueName) void
visit
(CloseSessionRequest request) void
visit
(MessageDeliveredRequest req) void
visit
(StartConsumerRequest req) Methods inherited from class com.swiftmq.impl.jms.standard.v750.SessionVisitor
visitGenericRequest
-
Field Details
-
consumerList
protected <any> consumerList -
producerList
protected <any> producerList -
ctx
-
dispatchId
protected int dispatchId -
recoveryEpoche
protected int recoveryEpoche -
recoveryInProgress
protected boolean recoveryInProgress -
closed
protected volatile boolean closed -
myConnection
-
-
Constructor Details
-
Method Details
-
getMyConnection
-
setMyConnection
-
validateDestination
- Throws:
InvalidDestinationException
-
setRecoveryEpoche
public void setRecoveryEpoche(int recoveryEpoche) -
process
-
visit
public void visit(StartConsumerRequest req) - Overrides:
visit
in classSessionVisitor
-
isCountDeliveredRequests
protected boolean isCountDeliveredRequests() -
visit
public void visit(MessageDeliveredRequest req) - Overrides:
visit
in classSessionVisitor
-
visit
public void visit(CloseSessionRequest request) - Overrides:
visit
in classSessionVisitor
-
serviceRequest
public void serviceRequest(Request request) -
close
protected void close() -
isClosed
protected boolean isClosed() -
toString
-