Static builder class for creating INode instances
Пример #1
0
 public static INode Any(int port = 0)
 {
     return(NodeBuilder.BuildNode().Host(IPAddress.Any).WithPort(port));
 }
Пример #2
0
 public static INode Loopback(int port = NetworkConstants.InMemoryPort)
 {
     return(NodeBuilder.BuildNode().Host(IPAddress.Loopback).WithPort(port));
 }