C# 클래스 Forseti.HashConnection

HashConnection is a transport for exchanging hashtables, transmitted over UDP using JSON.
파일 보기 프로젝트 열기: pioneers/forseti 1 사용 예제들

공개 메소드들

메소드 설명
AddHashConPacketListener ( HashPacketListener l ) : void
HashConnection ( int listenPort, int sendPort ) : System
RemoveHashConPacketListener ( HashPacketListener l ) : void
SendTable ( Hashtable table, string address ) : void
Start ( ) : void
bytesReceived ( byte bytes, string senderAddress ) : void

비공개 메소드들

메소드 설명
notifyListeners ( Hashtable packet, string sender ) : void

메소드 상세

AddHashConPacketListener() 공개 메소드

public AddHashConPacketListener ( HashPacketListener l ) : void
l HashPacketListener
리턴 void

HashConnection() 공개 메소드

public HashConnection ( int listenPort, int sendPort ) : System
listenPort int
sendPort int
리턴 System

RemoveHashConPacketListener() 공개 메소드

public RemoveHashConPacketListener ( HashPacketListener l ) : void
l HashPacketListener
리턴 void

SendTable() 공개 메소드

public SendTable ( Hashtable table, string address ) : void
table System.Collections.Hashtable
address string
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

bytesReceived() 공개 메소드

public bytesReceived ( byte bytes, string senderAddress ) : void
bytes byte
senderAddress string
리턴 void