C# 클래스 Gwupe.Agent.Managers.P2PManager

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

공개 메소드들

메소드 설명
P2PManager ( ) : System
Reset ( ) : void
SetupTunnel ( String uniqueId, IPEndPoint facilitatorEndPoint, String encryptionKey ) : PeerInfo

비공개 메소드들

메소드 설명
AwaitConnection ( string connectionId, Action receiveConnection ) : void
GetP2PConnection ( Attendance secondParty, String connectionId ) : ISocket
GetPeerInfoFromResponse ( InitP2PConnectionRs response ) : PeerInfo
GetPendingTunnel ( string uniqueId ) : TunnelEndpointContainer
InitP2PConnection ( Attendance secondParty, String connectionId ) : ISocket
ReceiveP2PTunnel ( string connectionId, PeerInfo peerInfo ) : void
RunSyncer ( string connectionId, PeerInfo peer, ITunnelEndpoint pendingTunnel, Action receivingMethod ) : void

메소드 상세

P2PManager() 공개 메소드

public P2PManager ( ) : System
리턴 System

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetupTunnel() 공개 메소드

public SetupTunnel ( String uniqueId, IPEndPoint facilitatorEndPoint, String encryptionKey ) : PeerInfo
uniqueId String
facilitatorEndPoint System.Net.IPEndPoint
encryptionKey String
리턴 Gwupe.Communication.P2P.P2P.Tunnel.PeerInfo