C# Class HelperLib.RoleInfoDataSource

Show file Open project: CloudMetal/Windows-Azure-CouchDB Class Usage Examples

Public Methods

Method Description
AddRoleInfoEntity ( RoleInfoEntity newItem ) : void
GetAllEndpoints ( ) : IEnumerable
GetInstanceEndpoint ( string roleId ) : IPEndPoint
RemoveRoleInfoEntity ( string roleId, string ip, int port ) : void
RoleInfoDataSource ( ) : System

Private Methods

Method Description
IPEndpointFromParts ( string ipString, int port ) : IPEndPoint

Method Details

AddRoleInfoEntity() public method

public AddRoleInfoEntity ( RoleInfoEntity newItem ) : void
newItem RoleInfoEntity
return void

GetAllEndpoints() public method

public GetAllEndpoints ( ) : IEnumerable
return IEnumerable

GetInstanceEndpoint() public method

public GetInstanceEndpoint ( string roleId ) : IPEndPoint
roleId string
return System.Net.IPEndPoint

RemoveRoleInfoEntity() public method

public RemoveRoleInfoEntity ( string roleId, string ip, int port ) : void
roleId string
ip string
port int
return void

RoleInfoDataSource() public method

public RoleInfoDataSource ( ) : System
return System