コード例 #1
0
            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)
                                      ));
            }
コード例 #2
0
 public Registration(SocketChannel channel, SocketAsyncOperation?initialOps)
 {
     Channel    = channel;
     InitialOps = initialOps;
 }
コード例 #3
0
        public void Register(SocketChannel channel, SocketAsyncOperation?initialOps, IActorRef channelActor)
        {
            channel.Register(channelActor, initialOps);

            RegisterCallReceiver.Ref.Tell(new TcpConnectionSpec.Registration(channel, initialOps));
        }
コード例 #4
0
 public void Register(IActorRef connection, SocketAsyncOperation?initialOps)
 {
     _connection = connection;
 }
コード例 #5
0
 public void Register(SocketChannel channel, SocketAsyncOperation?initialOps, IActorRef channelActor)
 {
     _test._registerCallReceiver.Ref.Tell(initialOps, channelActor);
 }
コード例 #6
0
 public Registration(SocketChannel channel, SocketAsyncOperation? initialOps)
 {
     Channel = channel;
     InitialOps = initialOps;
 }