C# Class Sxta.Rti1516.BoostrapProtocol.InteractionManager

Show file Open project: agustinsantos/Sxta Class Usage Examples

Public Properties

Property Type Description
interactionClassDescriptorMap InteractionClassDescriptor>.Dictionary

Protected Properties

Property Type Description
interactionListeners List
internalName System.String

Public Methods

Method Description
AddInteractionListener ( IInteractionListener il ) : void

Adds a listener for the interactions.

AddReceiveInteractionDelegate ( Type msgType, string name, ReceiveInteractionDelegate interactionDelegate ) : void

Adds a delegate for the process of interactions.

ReceiveInteraction ( BaseInteractionMessage msg ) : void

Notifies the federate of a received interaction.

RemoveInteractionListener ( IInteractionListener il ) : void

Removes a listener for the interactions.

RemoveReceiveInteractionDelegate ( Type msgType, ReceiveInteractionDelegate interactionDelegate ) : void

Remove a delegate for the process of interactions.

SendInteraction ( BaseInteractionMessage msg ) : void

Sends an interaction.

Method Details

AddInteractionListener() public method

Adds a listener for the interactions.
public AddInteractionListener ( IInteractionListener il ) : void
il IInteractionListener the listener object to Add
return void

AddReceiveInteractionDelegate() public method

Adds a delegate for the process of interactions.
public AddReceiveInteractionDelegate ( Type msgType, string name, ReceiveInteractionDelegate interactionDelegate ) : void
msgType Type
name string
interactionDelegate ReceiveInteractionDelegate
return void

ReceiveInteraction() public method

Notifies the federate of a received interaction.
public ReceiveInteraction ( BaseInteractionMessage msg ) : void
msg BaseInteractionMessage
return void

RemoveInteractionListener() public method

Removes a listener for the interactions.
public RemoveInteractionListener ( IInteractionListener il ) : void
il IInteractionListener the listener object to Remove
return void

RemoveReceiveInteractionDelegate() public method

Remove a delegate for the process of interactions.
public RemoveReceiveInteractionDelegate ( Type msgType, ReceiveInteractionDelegate interactionDelegate ) : void
msgType Type
interactionDelegate ReceiveInteractionDelegate
return void

SendInteraction() public method

Sends an interaction.
public SendInteraction ( BaseInteractionMessage msg ) : void
msg BaseInteractionMessage
return void

Property Details

interactionClassDescriptorMap public property

public Dictionary interactionClassDescriptorMap
return InteractionClassDescriptor>.Dictionary

interactionListeners protected property

The list of interaction listeners.
protected List interactionListeners
return List

internalName protected property

The name of the federation execution to which the federate is joined (or null for none).
protected String,System internalName
return System.String