public ConnectedSocketPack(xNetworkStreamBackedInputByteArray InputArray)
 {
     this.InputArray = InputArray;
     this.TcpClient  = InputArray.Client;
     this.TcpStream  = InputArray.NetStream;
     this.FromThread = InputArray.FromThread;
 }
Beispiel #2
0
 public xNetworkStreamBackedInputByteArray(TcpClient Client, NetworkStream NetStream, FromThread FromThread)
     : base()
 {
     this.Client     = Client;
     this.NetStream  = NetStream;
     this.FromThread = FromThread;
 }
Beispiel #3
0
 public xNetworkStreamBackedInputByteArray(byte[] Bytes, int DataLgth)
     : base(Bytes, DataLgth)
 {
     this.Client     = null;
     this.NetStream  = null;
     this.FromThread = null;
 }
 public ConnectedSocketPack(
     TcpClient Client, NetworkStream Stream,
     xNetworkStreamBackedInputByteArray InputArray,
     FromThread FromThread)
 {
     this.TcpClient  = Client;
     this.TcpStream  = Stream;
     this.InputArray = InputArray;
     this.FromThread = this.InputArray.FromThread;
 }
 public ServerConnectPack(FromThread FromThread, TcpClient Client, string HostName)
 {
     this.TcpClient  = Client;
     this.FromThread = FromThread;
     this.HostName   = HostName;
 }