GetQueenIPEndPoint() public method

public GetQueenIPEndPoint ( ) : IPEndPoint
return System.Net.IPEndPoint
Exemplo n.º 1
0
 public AntManager(AntLoader loader)
 {
     _queenAnt = new Client(
         Properties.CreateProperties(
         loader.GetQueenIPEndPoint(),
         new ChannelPipe().SetCreateChannelAction(channel =>
         {
             channel.SetConfig("encoder", BsonEncoder.Encoder);
             channel.SetConfig("decoder", BsonDecoder.Decoder);
             channel.SetConfig("handler", this);
         })));
     _queenAnt.Start();
 }