public class StandardConnectionContext extends Object implements ConnectionContext, Serializable
ConnectionContext.Type
Modifier and Type | Field and Description |
---|---|
private boolean |
closed |
private int |
key |
private Queue |
queue |
private static long |
serialVersionUID |
Constructor and Description |
---|
StandardConnectionContext() |
Modifier and Type | Method and Description |
---|---|
int |
getKey() |
Queue |
getQueue() |
AbstractJmsRequest |
getRequest(Object req) |
void |
initialize(int key,
OpenConnectionNot not) |
boolean |
isClosed() |
void |
pushError(MomException exc) |
void |
pushReply(AbstractJmsReply reply) |
void |
send(Object obj) |
private static final long serialVersionUID
private int key
private Queue queue
private boolean closed
public int getKey()
getKey
in interface ConnectionContext
public void send(Object obj)
public Queue getQueue()
public void pushReply(AbstractJmsReply reply)
pushReply
in interface ConnectionContext
public AbstractJmsRequest getRequest(Object req)
getRequest
in interface ConnectionContext
public void pushError(MomException exc)
pushError
in interface ConnectionContext
public boolean isClosed()
isClosed
in interface ConnectionContext
public void initialize(int key, OpenConnectionNot not)
initialize
in interface ConnectionContext
Copyright © 2020 ScalAgent D.T.. All rights reserved.