protected NetworkSocketMonitor(INetworkSocketConfig config, INetworkParser netParser, ISocketPayloadSerializer payloadSerializer)
        {
            _netParser         = netParser;
            _payloadSerializer = payloadSerializer;
            _config            = config ?? new DefaultNetworkSocketingConfig();
            _accepted          = new ManualResetEvent(false);

            Handler = NoHandler;
        }
Beispiel #2
0
 public SpfChecker(INetworkParser parser)
 {
     Parser = parser;
 }
Beispiel #3
0
 public SpfChecker()
 {
     Parser = new NetworkParser();
 }
Beispiel #4
0
 public SocketMonitorClient(INetworkSocketConfig config, INetworkParser netParser, ISocketPayloadSerializer payloadSerializer)
 {
     _config            = config ?? new DefaultNetworkSocketingConfig();
     _netParser         = netParser;
     _payloadSerializer = payloadSerializer;
 }