C# 클래스 Gwupe.Communication.P2P.P2P.Tunnel.Syncer

파일 보기 프로젝트 열기: gwupe/Gwupe 1 사용 예제들

공개 메소드들

메소드 설명
ProcessSyncRq ( StandardSyncRqTunnelPacket packet ) : void
ProcessSyncRs ( StandardSyncRsTunnelPacket packet ) : void
SyncWithPeer ( PeerInfo peer, int timeout, UdpClient udpClient ) : IPEndPoint
Syncer ( String id, List syncTypes = null ) : System
WaitForSyncFromPeer ( PeerInfo peer, int timeout, UdpClient udpClient ) : IPEndPoint

비공개 메소드들

메소드 설명
InitReceiverThread ( ) : void
ListenForPackets ( ) : void

메소드 상세

ProcessSyncRq() 공개 메소드

public ProcessSyncRq ( StandardSyncRqTunnelPacket packet ) : void
packet Gwupe.Communication.P2P.RUDP.Packet.Tunnel.StandardSyncRqTunnelPacket
리턴 void

ProcessSyncRs() 공개 메소드

public ProcessSyncRs ( StandardSyncRsTunnelPacket packet ) : void
packet Gwupe.Communication.P2P.RUDP.Packet.Tunnel.StandardSyncRsTunnelPacket
리턴 void

SyncWithPeer() 공개 메소드

public SyncWithPeer ( PeerInfo peer, int timeout, UdpClient udpClient ) : IPEndPoint
peer PeerInfo
timeout int
udpClient System.Net.Sockets.UdpClient
리턴 System.Net.IPEndPoint

Syncer() 공개 메소드

public Syncer ( String id, List syncTypes = null ) : System
id String
syncTypes List
리턴 System

WaitForSyncFromPeer() 공개 메소드

public WaitForSyncFromPeer ( PeerInfo peer, int timeout, UdpClient udpClient ) : IPEndPoint
peer PeerInfo
timeout int
udpClient System.Net.Sockets.UdpClient
리턴 System.Net.IPEndPoint