C# 클래스 X13.Periphery.MsDevice

상속: ITopicOwned, IMsGate
파일 보기 프로젝트 열기: X13home/X13.Host 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddNode() 공개 메소드

public AddNode ( MsDevice dev ) : void
dev MsDevice
리턴 void

Addr2If() 공개 메소드

public Addr2If ( byte addr ) : string
addr byte
리턴 string

ProcessInPacket() 공개 정적인 메소드

public static ProcessInPacket ( IMsGate gate, byte addr, byte buf, int start, int end ) : void
gate IMsGate
addr byte
buf byte
start int
end int
리턴 void

RemoveNode() 공개 메소드

public RemoveNode ( MsDevice dev ) : void
dev MsDevice
리턴 void

SendGw() 공개 메소드

public SendGw ( MsDevice dev, MsMessage msg ) : void
dev MsDevice
msg MsMessage
리턴 void

SendGw() 공개 메소드

public SendGw ( byte addr, MsMessage msg ) : void
addr byte
msg MsMessage
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string