Class RoutingConnection
java.lang.Object
com.swiftmq.impl.routing.single.connection.RoutingConnection
-
Constructor Summary
ConstructorsConstructorDescriptionRoutingConnection(SwiftletContext ctx, Connection connection, Entity entity, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidenqueueRequest(Request request) ConnectionEntitylongEventLoopintintbooleanisClosed()booleanbooleanisXa()voidserviceRequest(Request request) voidsetActivationListener(ActivationListener activationListener) voidsetKeepaliveInterval(long keepaliveInterval) voidsetProtocolVersion(String protocolVersion) voidsetRouterName(String routerName) voidsetTransactionSize(int transactionSize) voidsetUsageEntity(Entity usageEntity) voidsetWindowSize(int windowSize) voidsetXaSelected(boolean xaSelected) toString()
-
Constructor Details
-
RoutingConnection
public RoutingConnection(SwiftletContext ctx, Connection connection, Entity entity, String password) throws IOException - Throws:
IOException
-
-
Method Details
-
setUsageEntity
public void setUsageEntity(Entity usageEntity) -
getProtocolVersion
-
setProtocolVersion
-
setXaSelected
public void setXaSelected(boolean xaSelected) -
getActivationListener
-
setActivationListener
-
getEntity
public Entity getEntity() -
getTransactionSize
public int getTransactionSize() -
setTransactionSize
public void setTransactionSize(int transactionSize) -
getWindowSize
public int getWindowSize() -
setWindowSize
public void setWindowSize(int windowSize) -
getSMQRFactory
-
getPassword
-
isListener
public boolean isListener() -
setKeepaliveInterval
public void setKeepaliveInterval(long keepaliveInterval) -
getKeepaliveInterval
public long getKeepaliveInterval() -
isXa
public boolean isXa() -
getConnection
public Connection getConnection() -
getVisitor
-
getOutboundQueue
public EventLoop getOutboundQueue() -
setRouterName
-
getRouterName
-
getRemoteHostName
-
getConnectionId
-
serviceRequest
public void serviceRequest(Request request) -
enqueueRequest
- Throws:
Exception
-
isClosed
public boolean isClosed() -
close
public void close() -
toString
-