Struct Metabank.NetSvcPeer
Holds data that describes network service peer
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Sky.Metabase
Assembly: Azos.Sky.dll
Syntax
public struct NetSvcPeer
Constructors
NetSvcPeer(String, String, String)
Declaration
public NetSvcPeer(string addr, string port, string group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | addr | |
| System.String | port | |
| System.String | group |
Fields
Address
Declaration
public readonly string Address
Field Value
| Type | Description |
|---|---|
| System.String |
BASE_MATCH
Declaration
public const string BASE_MATCH = "*"
Field Value
| Type | Description |
|---|---|
| System.String |
Group
Declaration
public readonly string Group
Field Value
| Type | Description |
|---|---|
| System.String |
Port
Declaration
public readonly string Port
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
Blank
Declaration
public bool Blank { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Override(Metabank.NetSvcPeer)
Overrides this value with another field by field, where '' represents the base value, i.e. if address is "123.12" gets overridden by address ".2", then result will be "123.12.2". Same rule applies field-by-field for address,port and group
Declaration
public Metabank.NetSvcPeer Override(Metabank.NetSvcPeer other)
Parameters
| Type | Name | Description |
|---|---|---|
| Metabank.NetSvcPeer | other | Another peer to override this one with |
Returns
| Type | Description |
|---|---|
| Metabank.NetSvcPeer | New peer with field-by-field overridden data |