<< Click to Display Table of Contents >>

Service

This class provides methods related to the service function of OZ Server.


Constructor Detail

Service

public Service(string url, string id, string pw, bool autoLogin, bool useUSL)

Performs processing functions such as OZ Server information, status, processing, memory collection.

Parameters:

url - URL of OZ Server

id - User ID

pw - User password

autoLogin - Whether to use the AutoLogin

useUSL - Whether to use the USL


Method Detail

GrabageCollect

public void GrabageCollect() throw OZCPException

Runs garbage collection, which with the help of a separate memory collection program collects the free memory on the JVM so that it can be recycled.

Ping

public bool Ping() throw OZCPException

Returns whether the server is operating.

GetHandlerCount

public int GetHandlerCount() throw OZCPException

Gets the number of concurrent multithread of the server.