public ComposerBase(IWhisperRequestFactory <TRequest, TOpcode> requestFactory, IDictionary <string, IWhisperCommand <TSession, TRequest> > commandDictionary) : base() { this.requestFactory = requestFactory; if (commandDictionary.IsReadOnly) { this.commandDictionary = commandDictionary; } else { this.commandDictionary = new ReadOnlyDictionary <string, IWhisperCommand <TSession, TRequest> >(commandDictionary); } }
public ShardComposerFactory(IWhisperRequestFactory <ShardRequest, ShardClientOpcode> requestFactory) { this.requestFactory = requestFactory; }
public AuthComposer(IWhisperRequestFactory <AuthRequest, AuthRequestOpcode> requestFactory, IDictionary <string, IWhisperCommand <AuthSession, AuthRequest> > commandDictionary) : base(requestFactory, commandDictionary) { }
public AuthComposerFactory(IWhisperRequestFactory <AuthRequest, AuthRequestOpcode> requestFactory) { this.requestFactory = requestFactory; }
public ShardComposer(IWhisperRequestFactory <ShardRequest, ShardClientOpcode> requestFactory, IDictionary <string, IWhisperCommand <ShardSession, ShardRequest> > commandDictionary, PacketCipher cipher) : base(requestFactory, commandDictionary) { this.cipher = cipher; }