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; }
public Walker(RegistryProvider registry, Client client, Item rootItem) { _registry = registry; _client = client; _rootItem = rootItem; }