C# 클래스 Brunet.Simulator.Transport.RestrictedConeNat

Supports a very simple Cone NAT. Once the node has learned its own address and it has a stable connection to another peer, it allows inbound connections. Incoming messages are allow so long as there is an existing NAT mapping.
상속: ConeNat
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 메소드들

메소드 설명
Incoming ( TransportAddress ta ) : bool
RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections

메소드 상세

Incoming() 공개 메소드

public Incoming ( TransportAddress ta ) : bool
ta Brunet.Transport.TransportAddress
리턴 bool

RestrictedConeNat() 공개 메소드

public RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections
ta Brunet.Transport.TransportAddress
timeout int
리턴 System.Collections