예제 #1
0
        public Client(GlowListener host, Socket socket, int maxPackageLength, RegistryProvider registry)
        {
            Host             = host;
            Socket           = socket;
            MaxPackageLength = maxPackageLength;
            Registry         = registry;

            _reader               = new GlowReader(GlowReader_RootReady, GlowReader_KeepAliveRequestReceived);
            _reader.Error        += GlowReader_Error;
            _reader.FramingError += GlowReader_FramingError;
        }
예제 #2
0
파일: Client.cs 프로젝트: jv42/ember-plus
        public Client(GlowListener host, Socket socket, int maxPackageLength, RegistryProvider registry)
        {
            Host = host;
             Socket = socket;
             MaxPackageLength = maxPackageLength;
             Registry = registry;

             _reader = new GlowReader(GlowReader_RootReady, GlowReader_KeepAliveRequestReceived);
             _reader.Error += GlowReader_Error;
             _reader.FramingError += GlowReader_FramingError;
        }
예제 #3
0
 public Walker(RegistryProvider registry, Client client, Item rootItem)
 {
     _registry = registry;
     _client   = client;
     _rootItem = rootItem;
 }
예제 #4
0
 public Walker(RegistryProvider registry, Client client, Item rootItem)
 {
     _registry = registry;
     _client = client;
     _rootItem = rootItem;
 }