kandata.server
インタフェース KandataServer


public interface KandataServer

アプリケーションサーバが実装しなければならないインターフェース.


メソッドの概要
 void connected(KandataClientContext context)
          クライアントから接続されたときに呼ばれます.
 void disconnected(KandataClientContext context)
          クライアントから切断されたときに呼ばれます.
 void exit()
          終了時に呼ばれます.
 void init(KandataServerContext serverContext)
          起動時に呼ばれます.
 

メソッドの詳細

init

public void init(KandataServerContext serverContext)
起動時に呼ばれます.

exit

public void exit()
終了時に呼ばれます.

connected

public void connected(KandataClientContext context)
クライアントから接続されたときに呼ばれます.

disconnected

public void disconnected(KandataClientContext context)
クライアントから切断されたときに呼ばれます.