C# Класс Sxta.Rti1516.BoostrapProtocol.InteractionManager

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
interactionClassDescriptorMap InteractionClassDescriptor>.Dictionary

Защищенные свойства (Protected)

Свойство Тип Описание
interactionListeners List
internalName System.String

Открытые методы

Метод Описание
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.

Описание методов

AddInteractionListener() публичный Метод

Adds a listener for the interactions.
public AddInteractionListener ( IInteractionListener il ) : void
il IInteractionListener the listener object to Add
Результат void

AddReceiveInteractionDelegate() публичный Метод

Adds a delegate for the process of interactions.
public AddReceiveInteractionDelegate ( Type msgType, string name, ReceiveInteractionDelegate interactionDelegate ) : void
msgType Type
name string
interactionDelegate ReceiveInteractionDelegate
Результат void

ReceiveInteraction() публичный Метод

Notifies the federate of a received interaction.
public ReceiveInteraction ( BaseInteractionMessage msg ) : void
msg BaseInteractionMessage
Результат void

RemoveInteractionListener() публичный Метод

Removes a listener for the interactions.
public RemoveInteractionListener ( IInteractionListener il ) : void
il IInteractionListener the listener object to Remove
Результат void

RemoveReceiveInteractionDelegate() публичный Метод

Remove a delegate for the process of interactions.
public RemoveReceiveInteractionDelegate ( Type msgType, ReceiveInteractionDelegate interactionDelegate ) : void
msgType Type
interactionDelegate ReceiveInteractionDelegate
Результат void

SendInteraction() публичный Метод

Sends an interaction.
public SendInteraction ( BaseInteractionMessage msg ) : void
msg BaseInteractionMessage
Результат void

Описание свойств

interactionClassDescriptorMap публичное свойство

public Dictionary interactionClassDescriptorMap
Результат InteractionClassDescriptor>.Dictionary

interactionListeners защищенное свойство

The list of interaction listeners.
protected List interactionListeners
Результат List

internalName защищенное свойство

The name of the federation execution to which the federate is joined (or null for none).
protected String,System internalName
Результат System.String