Method | Description | |
---|---|---|
BuildNode ( ) : INode |
Creates a new INode instance
|
|
FromEndpoint ( |
Creates an INode instance from an IP endpoint
|
|
Host ( this n, |
Add a host to an INode instance
|
|
Host ( this n, string host ) : INode |
Add a host to an INode instance
|
|
MachineName ( this n, string machineName ) : INode |
Add a machine name to an INode instance
|
|
OperatingSystem ( this n, string osName ) : INode |
Add an OS name and version to an INode instance
|
|
WithCustomData ( this n, string customData ) : INode |
Add a JSON blob to a node's metadata
|
|
WithPort ( this n, int portNum ) : INode |
Adds a capability to a given INode instance
|
|
WithTransportType ( this n, TransportType transportType ) : INode |
Adds a capability to a given INode instance
|
|
WithVersion ( this n, string serviceVersion ) : INode |
Add the version # of the service being used to an INode instance
|
public static FromEndpoint ( |
||
endPoint | A System.NET.IPEndpoint argument, usually from an incoming socket connection | |
return | INode |
public static Host ( this n, |
||
n | this | A valid INode instance |
host | A System.Net IpAddress object representing a valid host for a given service | |
return | INode |
public static Host ( this n, string host ) : INode | ||
n | this | A valid INode instance |
host | string | A string representation of an IP address |
return | INode |
public static MachineName ( this n, string machineName ) : INode | ||
n | this | A valid INode instance |
machineName | string | the name of this machine |
return | INode |
public static OperatingSystem ( this n, string osName ) : INode | ||
n | this | A valid INode instance |
osName | string | The name and version of the host operating system |
return | INode |
public static WithCustomData ( this n, string customData ) : INode | ||
n | this | A valid INode instance |
customData | string | A JSON-string representing a blob of custom data about this node |
return | INode |
public static WithPort ( this n, int portNum ) : INode | ||
n | this | A valid INode instance |
portNum | int | the port number for this node |
return | INode |
public static WithTransportType ( this n, TransportType transportType ) : INode | ||
n | this | A valid INode instance |
transportType | TransportType | the type of network connection used by this node |
return | INode |
public static WithVersion ( this n, string serviceVersion ) : INode | ||
n | this | A valid INode instance |
serviceVersion | string | The version # of the service this node belongs to |
return | INode |