ProtocolHandler¶
-
public class
ProtocolHandlerextends AbstractEventHandler implements Activatable, IntrospectionModelObserver¶ Implementation of the introspection protocol using RSB patterns. Cf. http://docs .cor-lab.de//rsb-manual/trunk/html/specification-introspection.html Activation and deactivation needs to be single-threaded and if not activated, this class must not be actively registered as an
IntrospectionModelObserver.- Author
swrede, ssharma, jwienke
Constructors¶
ProtocolHandler¶
-
public
ProtocolHandler(IntrospectionModel model, String processDisplayName)¶ Creates a new instance operating on the provided introspection model.
- Parameters
model – the mode, not
nullprocessDisplayName – human-readable name of the process this instance operates in, may be
nullif not provided
- Throws
LacksOsInformationException – thrown in case required information from the operating system are not available. This makes the introspection unusable.
Methods¶
participantAdded¶
-
public void
participantAdded(ParticipantInfo info)¶
participantRemoved¶
-
public void
participantRemoved(ParticipantInfo info)¶