Package com.swiftmq.impl.amqp
Class VersionedConnection
java.lang.Object
com.swiftmq.impl.amqp.VersionedConnection
-
Constructor Summary
ConstructorDescriptionVersionedConnection
(SwiftletContext ctx, Connection connection, Entity usage, boolean requiresSasl, Entity connectionTemplate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
collect
(long lastCollect) void
dataAvailable
(Connection connection, InputStream inputStream) void
dataAvailable
(LengthCaptureDataInput in) ActiveLogin
Connection
Entity
Entity
getUsage()
void
registerAMQPHandlerFactory
(ProtocolHeader header, HandlerFactory factory) void
registerSaslHandlerFactory
(ProtocolHeader header, HandlerFactory factory) void
send
(Writable writable) void
setOutboundTracer
(OutboundTracer outboundTracer) void
setSaslFinished
(boolean saslFinished, ActiveLogin activeLogin) toString()
-
Constructor Details
-
VersionedConnection
public VersionedConnection(SwiftletContext ctx, Connection connection, Entity usage, boolean requiresSasl, Entity connectionTemplate)
-
-
Method Details
-
getUsage
public Entity getUsage() -
getConnectionTemplate
public Entity getConnectionTemplate() -
getConnection
public Connection getConnection() -
getActiveLogin
public ActiveLogin getActiveLogin() -
getRemoteHostname
-
setOutboundTracer
-
collect
public void collect(long lastCollect) -
registerSaslHandlerFactory
-
registerAMQPHandlerFactory
-
setSaslFinished
public void setSaslFinished(boolean saslFinished, ActiveLogin activeLogin) -
dataAvailable
- Throws:
IOException
-
dataAvailable
public void dataAvailable(LengthCaptureDataInput in) -
send
public void send(Writable writable) -
close
public void close() -
toString
-