public InternalClientSessionFactory(AUIDServiceCollection <ClientSessionServiceContext> peerServiceCollection, ISerializerStrategy serializer, ILog peerLogger, IAUIDService <INetPeer> netPeerAuidService, IManagedClientSessionFactory managedSessionFactory) { if (peerServiceCollection == null) { throw new ArgumentNullException(nameof(peerServiceCollection)); } if (serializer == null) { throw new ArgumentNullException(nameof(serializer)); } if (peerLogger == null) { throw new ArgumentNullException(nameof(peerLogger)); } if (netPeerAuidService == null) { throw new ArgumentNullException(nameof(netPeerAuidService)); } if (managedSessionFactory == null) { throw new ArgumentNullException(nameof(managedSessionFactory)); } PeerServiceCollection = peerServiceCollection; Serializer = serializer; PeerLogger = peerLogger; NetPeerAUIDService = netPeerAuidService; ManagedSessionFactory = managedSessionFactory; }
public PeerSendServiceSelectionStrategy(IAUIDService<ClientSessionServiceContext> contextAuidService) { if (contextAuidService == null) throw new ArgumentNullException(nameof(contextAuidService), $"Provided {nameof(IAUIDService<ClientSessionServiceContext>)} must not be null."); contextService = contextAuidService; }
public PeerSendServiceSelectionStrategy(IAUIDService <ClientSessionServiceContext> contextAuidService) { if (contextAuidService == null) { throw new ArgumentNullException(nameof(contextAuidService), $"Provided {nameof(IAUIDService<ClientSessionServiceContext>)} must not be null."); } contextService = contextAuidService; }
public AUIDNetPeerServiceDecorator(IAUIDService <ClientSessionServiceContext> auidServiceContext) { if (auidServiceContext == null) { throw new ArgumentNullException(nameof(auidServiceContext), $"Provided {nameof(IAUIDService<ClientSessionServiceContext>)} must not be null."); } lidgrenServiceContextAUIDService = auidServiceContext; }