C# Class X13.Periphery.MsDevice

Inheritance: ITopicOwned, IMsGate
Afficher le fichier Open project: X13home/X13.Host Class Usage Examples

Private Properties

Свойство Type Description
CalculateTopicId ushort
CheckAddr bool
Connect void
Disconnect void
GetTopicInfo TopicInfo
GetTopicInfo TopicInfo
GetTopicInfo TopicInfo
ITopicOwned void
MsDevice System
MsDevice System
NextMsgId ushort
Open void
OwnerChanged void
ProccessAcknoledge void
ProcessInPacket void
PublishTopic void
PublishWithPayload void
ReisePool void
ResetTimer void
Send void
SendIntern void
Serialize byte[]
SetValue void
Stat void
SyncMsgId void
TimeOut void

Méthodes publiques

Méthode Description
AddNode ( MsDevice dev ) : void
Addr2If ( byte addr ) : string
ProcessInPacket ( IMsGate gate, byte addr, byte buf, int start, int end ) : void
RemoveNode ( MsDevice dev ) : void
SendGw ( MsDevice dev, MsMessage msg ) : void
SendGw ( byte addr, MsMessage msg ) : void
Stop ( ) : void
ToString ( ) : string

Private Methods

Méthode Description
CalculateTopicId ( string path ) : ushort
CheckAddr ( byte addr ) : bool
Connect ( MsConnect msg ) : void
Disconnect ( ushort duration ) : void
GetTopicInfo ( Topic tp, bool sendRegister = true ) : TopicInfo

Find or create TopicInfo by Topic

GetTopicInfo ( string path, bool sendRegister = true ) : TopicInfo
GetTopicInfo ( ushort topicId, TopicIdType topicIdType, bool sendRegister = true ) : TopicInfo
ITopicOwned ( Topic owner ) : void
MsDevice ( ) : System
MsDevice ( IMsGate gate, byte addr ) : System
NextMsgId ( ) : ushort
Open ( ) : void
OwnerChanged ( Topic topic, TopicChanged param ) : void
ProccessAcknoledge ( MsMessage rMsg ) : void
ProcessInPacket ( MsMessage msg ) : void
PublishTopic ( Topic topic, TopicChanged param ) : void
PublishWithPayload ( Topic t, byte payload ) : void
ReisePool ( object state ) : void
ResetTimer ( int period ) : void
Send ( MsMessage msg ) : void
SendIntern ( MsMessage msg ) : void
Serialize ( Topic t ) : byte[]
SetValue ( TopicInfo ti, byte msgData, bool retained ) : void
Stat ( bool send, MsMessageType t, bool dub = false ) : void
SyncMsgId ( ushort p ) : void
TimeOut ( object o ) : void

Method Details

AddNode() public méthode

public AddNode ( MsDevice dev ) : void
dev MsDevice
Résultat void

Addr2If() public méthode

public Addr2If ( byte addr ) : string
addr byte
Résultat string

ProcessInPacket() public static méthode

public static ProcessInPacket ( IMsGate gate, byte addr, byte buf, int start, int end ) : void
gate IMsGate
addr byte
buf byte
start int
end int
Résultat void

RemoveNode() public méthode

public RemoveNode ( MsDevice dev ) : void
dev MsDevice
Résultat void

SendGw() public méthode

public SendGw ( MsDevice dev, MsMessage msg ) : void
dev MsDevice
msg MsMessage
Résultat void

SendGw() public méthode

public SendGw ( byte addr, MsMessage msg ) : void
addr byte
msg MsMessage
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string