Class RoutingConnection
java.lang.Object
com.swiftmq.impl.routing.single.connection.RoutingConnection
-
Constructor Summary
ConstructorDescriptionRoutingConnection
(SwiftletContext ctx, Connection connection, Entity entity, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
enqueueRequest
(Request request) Connection
Entity
long
EventLoop
int
int
boolean
isClosed()
boolean
boolean
isXa()
void
serviceRequest
(Request request) void
setActivationListener
(ActivationListener activationListener) void
setKeepaliveInterval
(long keepaliveInterval) void
setProtocolVersion
(String protocolVersion) void
setRouterName
(String routerName) void
setTransactionSize
(int transactionSize) void
setUsageEntity
(Entity usageEntity) void
setWindowSize
(int windowSize) void
setXaSelected
(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
-