public void Register(SocketChannel channel, SocketAsyncOperation?initialOps, IActorRef channelActor) { channel.Register(channelActor, initialOps); if (initialOps.HasValue) { EnableInterest(channel, initialOps.Value); } channelActor.Tell(new ChannelRegistration( enableInterest: op => EnableInterest(channel, op), disableInterest: op => DisableInterest(channel, op) )); }
public Registration(SocketChannel channel, SocketAsyncOperation?initialOps) { Channel = channel; InitialOps = initialOps; }
public void Register(SocketChannel channel, SocketAsyncOperation?initialOps, IActorRef channelActor) { channel.Register(channelActor, initialOps); RegisterCallReceiver.Ref.Tell(new TcpConnectionSpec.Registration(channel, initialOps)); }
public void Register(IActorRef connection, SocketAsyncOperation?initialOps) { _connection = connection; }
public void Register(SocketChannel channel, SocketAsyncOperation?initialOps, IActorRef channelActor) { _test._registerCallReceiver.Ref.Tell(initialOps, channelActor); }
public Registration(SocketChannel channel, SocketAsyncOperation? initialOps) { Channel = channel; InitialOps = initialOps; }