Class CacheServerInfo
Holds the set of parameters that control the initialization behavior of the cache.
Inheritance
System.Object
CacheServerInfo
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
public class CacheServerInfo : IComparable
Constructors
CacheServerInfo(String)
Declaration
public CacheServerInfo(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
CacheServerInfo(String, Int32)
Declaration
public CacheServerInfo(string name, int port)
Parameters
Type |
Name |
Description |
System.String |
name |
String IP/Name of the server to be connected with
|
System.Int32 |
port |
Port for the server to be connected with
|
Properties
Name
Get/Set the Name/IP of the server
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Port
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareReal(Object)
Declaration
public int CompareReal(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()