Package com.lucimber.dbus.connection
Interface Context
- All Superinterfaces:
InboundPropagator,OutboundPropagator,UserEventPropagator
-
Method Summary
Modifier and TypeMethodDescriptionReturns the connection instance bound to this context.Returns the handler instance bound to this context.getName()Returns the name of this context in the pipeline.Returns the pipeline instance bound to this context.booleanIndicates whether the handler has been removed from the pipeline.Methods inherited from interface com.lucimber.dbus.connection.InboundPropagator
propagateConnectionActive, propagateConnectionInactive, propagateInboundFailure, propagateInboundMessageMethods inherited from interface com.lucimber.dbus.connection.OutboundPropagator
propagateOutboundMessageMethods inherited from interface com.lucimber.dbus.connection.UserEventPropagator
propagateUserEvent
-
Method Details
-
getName
String getName()Returns the name of this context in the pipeline.- Returns:
- the handler name
-
getHandler
Handler getHandler()Returns the handler instance bound to this context.- Returns:
- the handler
-
getPipeline
Pipeline getPipeline()Returns the pipeline instance bound to this context.- Returns:
- the pipeline
-
getConnection
Connection getConnection()Returns the connection instance bound to this context.- Returns:
- the connection
-
isRemoved
boolean isRemoved()Indicates whether the handler has been removed from the pipeline.- Returns:
trueif the handler is removed,falseotherwise.
-