Beispiel #1
0
        public static iReceiver Create(string EncodingType, iDBDriver DBDriver, iClient Client)
        {
            switch (EncodingType.ToLower())
            {
            case "string":
                return(new cStringReceiver("string_sat", DBDriver, Client));

            case "binary":
                return(new cBinaryReceiver("binary_sat", DBDriver, Client));

            default:
                throw new UnknownEncodingException();
            }
        }
Beispiel #2
0
 public Connection(iClient client)
 {
     this.client = client;
     sock = new iSocket.aSocket();
 }
Beispiel #3
0
 public cBinaryReceiver(string NewSatName, iDBDriver DBDriver, iClient NewClient) : base(NewSatName, DBDriver, NewClient)
 {
 }
Beispiel #4
0
 public Connection(iClient client)
 {
     this.client = client;
     sock        = new iSocket.aSocket();
 }
Beispiel #5
0
 public cReceiverBase(string NewSatName, iDBDriver NewDriver, iClient NewClient)
 {
     _SatName  = NewSatName;
     _DBDriver = NewDriver;
     _Client   = NewClient;
 }