org.objectweb.joram.mom.proxies
Class StandardConnectionContext

java.lang.Object
  extended by org.objectweb.joram.mom.proxies.StandardConnectionContext
All Implemented Interfaces:
java.io.Serializable, ConnectionContext

public class StandardConnectionContext
extends java.lang.Object
implements ConnectionContext, java.io.Serializable

See Also:
Serialized Form

Field Summary
private  boolean closed
           
private  int key
           
private  ProxyImpl proxyImpl
           
private  Queue queue
           
private static long serialVersionUID
           
 
Constructor Summary
StandardConnectionContext(ProxyImpl proxyImpl, int key)
           
 
Method Summary
 int getKey()
           
 Queue getQueue()
           
 AbstractJmsRequest getRequest(java.lang.Object req)
           
 boolean isClosed()
           
 void pushError(MomException exc)
           
 void pushReply(AbstractJmsReply reply)
           
 void send(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

key

private int key

queue

private Queue queue

proxyImpl

private ProxyImpl proxyImpl

closed

private boolean closed
Constructor Detail

StandardConnectionContext

StandardConnectionContext(ProxyImpl proxyImpl,
                          int key)
Method Detail

getKey

public int getKey()
Specified by:
getKey in interface ConnectionContext

send

public void send(java.lang.Object obj)

getQueue

public Queue getQueue()

pushReply

public void pushReply(AbstractJmsReply reply)
Specified by:
pushReply in interface ConnectionContext

getRequest

public AbstractJmsRequest getRequest(java.lang.Object req)
Specified by:
getRequest in interface ConnectionContext

pushError

public void pushError(MomException exc)
Specified by:
pushError in interface ConnectionContext

isClosed

public boolean isClosed()
Specified by:
isClosed in interface ConnectionContext


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.