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.boolean
Indicates whether the handler has been removed from the pipeline.Methods inherited from interface com.lucimber.dbus.connection.InboundPropagator
propagateConnectionActive, propagateConnectionInactive, propagateInboundFailure, propagateInboundMessage
Methods inherited from interface com.lucimber.dbus.connection.OutboundPropagator
propagateOutboundMessage
Methods 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:
true
if the handler is removed,false
otherwise.
-