<< Click to Display Table of Contents >>
Service
오즈 서버의 서비스 기능과 관련된 메소드를 제공하는 클래스입니다.
Constructor Detail
Service
public Service(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)
서버 정보, 상태, 처리, 메모리 수집 등의 처리 기능을 수행합니다.
Parameters:
url - HTTP 방식 오즈 서버의 URL
id - 사용자 아이디
pw - 사용자 패스워드
bAutoLogin - 자동 로그인 여부
useUSL - USL 사용 여부
Method Detail
garbageCollect
public void garbageCollect() throws OZCPException
사용되지 않는 메모리를 수거해 재사용 가능하게 해주는 garbage collection을 실행합니다.
ping
public boolean ping() throws OZCPException
서버의 구동 여부를 반환합니다.
getHandlerCount
public int getHandlerCount() throws OZCPException
서버의 동시 실행 개수를 가져옵니다.