Beispiel #1
0
 internal ServerInfoEventArgs(ServerEndPoint serverEndPoint, string api, string function, uint error)
     : base(serverEndPoint)
 {
     Error = Format(api, function, error);
 }
Beispiel #2
0
 internal ServerInfoEventArgs(ServerEndPoint serverEndPoint, SocketError error)
     : base(serverEndPoint)
 {
     SocketError = error;
 }
Beispiel #3
0
 internal ServerInfoEventArgs(ServerEndPoint serverEndPoint, SocketException error)
     : base(serverEndPoint)
 {
     SocketError = error.SocketErrorCode;
     Exception   = error;
 }
Beispiel #4
0
 internal ServerInfoEventArgs(ServerEndPoint serverEndPoint, string error)
     : base(serverEndPoint)
 {
     Error = error;
 }
Beispiel #5
0
 internal ServerInfoEventArgs(ServerEndPoint serverEndPoint, Exception error)
     : base(serverEndPoint)
 {
     Exception = error;
 }
Beispiel #6
0
 public EndpointInfo(ProtocolPort protocolPort, UnicastIPAddressInformation addressInformation)
 {
     this.ProtocolPort       = protocolPort;
     this.AddressInformation = addressInformation;
     this.ServerEndPoint     = new ServerEndPoint(this.ProtocolPort, this.AddressInformation.Address);
 }
Beispiel #7
0
 private static IPEndPoint DefaultFakeAddressAction(ServerEndPoint endpoint)
 {
     return(null);
 }
 public ServerChangeEventArgs(ServerEndPoint serverEndPoint)
 {
     ServerEndPoint = serverEndPoint;
 }
			public EndpointInfo(ProtocolPort protocolPort, UnicastIPAddressInformation addressInformation)
			{
				ProtocolPort = protocolPort;
				AddressInformation = addressInformation;
				ServerEndPoint = new ServerEndPoint(ProtocolPort, AddressInformation.Address);
			}