com.JRcServer.server.control
クラス JRcRemoteControlDef

java.lang.Object
  上位を拡張 com.JRcServer.server.control.JRcRemoteControlDef

public class JRcRemoteControlDef
extends java.lang.Object

JRcServerリモートコントロール定義.

導入されたバージョン:
JRcServerAPI 1.00
バージョン:
2006/09/13
作成者:
masahito suzuki

フィールドの概要
static int DEF_PORT
          デフォルトリモートコントロールポート番号.
static int DEF_REMOTE
          リモートモード : ノーマル.
static int REMOTE_ERROR
          リモートモード : 受信エラー.
static int REMOTE_SHUTDOWN
          リモートモード : シャットダウン実施.
static int REMOTE_TIMEOUT
          リモートモード : 受信タイムアウト.
 
コンストラクタの概要
JRcRemoteControlDef()
           
 
メソッドの概要
static int convertBinaryByRemoteMode(byte[] mode)
          バイナリをリモートモードに変換.
static byte[] convertRemoteModeByBinary(int mode)
          リモートモードを、バイナリに変換.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

DEF_PORT

public static final int DEF_PORT
デフォルトリモートコントロールポート番号.

関連項目:
定数フィールド値

DEF_REMOTE

public static final int DEF_REMOTE
リモートモード : ノーマル.

関連項目:
定数フィールド値

REMOTE_ERROR

public static final int REMOTE_ERROR
リモートモード : 受信エラー.

関連項目:
定数フィールド値

REMOTE_TIMEOUT

public static final int REMOTE_TIMEOUT
リモートモード : 受信タイムアウト.

関連項目:
定数フィールド値

REMOTE_SHUTDOWN

public static final int REMOTE_SHUTDOWN
リモートモード : シャットダウン実施.

関連項目:
定数フィールド値
コンストラクタの詳細

JRcRemoteControlDef

public JRcRemoteControlDef()
メソッドの詳細

convertRemoteModeByBinary

public static final byte[] convertRemoteModeByBinary(int mode)
リモートモードを、バイナリに変換.

リモートモードを、バイナリに変換します.

パラメータ:
mode - 変換対象のリモートモードを設定します.
戻り値:
byte[] 変換されたバイナリ情報が返されます.

convertBinaryByRemoteMode

public static final int convertBinaryByRemoteMode(byte[] mode)
                                           throws InputException,
                                                  ConvertException
バイナリをリモートモードに変換.

バイナリを、リモートモードに変換します.

パラメータ:
mode - リモートモードに変換するバイナリを設定します.
戻り値:
int 変換されたリモートモードが返されます.
例外:
InputException - 入力例外.
ConvertException