Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
com.generalrobotix.ui.util.GrxServerManager Class Reference
Inheritance diagram for com.generalrobotix.ui.util.GrxServerManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ProcessInfo getNameServerInfo ()
 NameServerのProcessInfo取得
String getNameserverLogDir ()
String getNewHost ()
int getNewPort ()
Vector< ProcessInfogetServerInfo ()
 vecServerInfoの取得
 GrxServerManager (String name, GrxPluginManager manager)
void initialize ()
void restart (IProgressMonitor monitor)
void restoreDefault ()
synchronized void SaveServerInfo ()
String setNewHostPort (String host, String port, StringBuffer refHost, StringBuffer refPort)
boolean toggleProcess (ProcessInfo pInfo)
 サーバプログラムの起動トグル

Static Public Member Functions

static void setNameServerInfoToPreferenceStore ()
static void setServerInfoToPreferenceStore ()

Public Attributes

String serverInfoDefaultDir_ = ""
int serverInfoDefaultWaitCount_ = 0

Static Public Attributes

static String NAME_SERVER_HOST_
static String NAME_SERVER_LOG_DIR_
static int NAME_SERVER_PORT_

Private Member Functions

String checkHostFormat (String host)
String checkPortFormat (String port)
String comToAbsolutePath (String com)
String generateNameServerArgs ()
void getNameServerInfoFromPerferenceStore ()
void getServerInfoFromPerferenceStore ()
String[] parse (String string)
boolean updatedParam (ProcessInfo pInfo)
 vecServerInfoの更新 vecServerInfoに同名のidが存在すればpInfoを元に更新する

Static Private Attributes

static final String LINE_SEPARATOR = new String( System.getProperty("line.separator") )
static final int MAXMUM_PORT_NUMBER = 65535
static volatile ProcessInfo nameServerInfo = new ProcessInfo()
static SynchronizedAccessor
< String > 
nameServerLogDir = new SynchronizedAccessor<String>("")
static SynchronizedAccessor
< String > 
newHost_ = new SynchronizedAccessor<String>("")
static SynchronizedAccessor
< Integer > 
newPort_ = new SynchronizedAccessor<Integer>(0)
static volatile Vector
< ProcessInfo
vecServerInfo = new Vector<ProcessInfo>()

Detailed Description

Definition at line 30 of file GrxServerManager.java.


Constructor & Destructor Documentation

GrxServerManagerを作り、処理を開始する。

Definition at line 54 of file GrxServerManager.java.


Member Function Documentation

String com.generalrobotix.ui.util.GrxServerManager.checkHostFormat ( String  host) [inline, private]

Definition at line 192 of file GrxServerManager.java.

String com.generalrobotix.ui.util.GrxServerManager.checkPortFormat ( String  port) [inline, private]

Definition at line 216 of file GrxServerManager.java.

String com.generalrobotix.ui.util.GrxServerManager.comToAbsolutePath ( String  com) [inline, private]

Definition at line 390 of file GrxServerManager.java.

Definition at line 247 of file GrxServerManager.java.

NameServerのProcessInfo取得

Returns:
ProcessInfo nameServerInfo

Definition at line 70 of file GrxServerManager.java.

Definition at line 253 of file GrxServerManager.java.

Definition at line 83 of file GrxServerManager.java.

Definition at line 75 of file GrxServerManager.java.

Definition at line 79 of file GrxServerManager.java.

vecServerInfoの取得

Returns:
Vector<ProcessInfo> vecServerInfo

Definition at line 62 of file GrxServerManager.java.

Definition at line 315 of file GrxServerManager.java.

Definition at line 230 of file GrxServerManager.java.

String [] com.generalrobotix.ui.util.GrxServerManager.parse ( String  string) [inline, private]

Definition at line 303 of file GrxServerManager.java.

void com.generalrobotix.ui.util.GrxServerManager.restart ( IProgressMonitor  monitor) [inline]

Definition at line 239 of file GrxServerManager.java.

Definition at line 441 of file GrxServerManager.java.

Definition at line 46 of file GrxServerManager.java.

Definition at line 433 of file GrxServerManager.java.

String com.generalrobotix.ui.util.GrxServerManager.setNewHostPort ( String  host,
String  port,
StringBuffer  refHost,
StringBuffer  refPort 
) [inline]

Definition at line 87 of file GrxServerManager.java.

Definition at line 411 of file GrxServerManager.java.

サーバプログラムの起動トグル

Parameters:
ProcessInfo     開始と停止を遷移させるサーバプログラム
Returns:
boolean true:開始状態へ遷移 false:停止状態へ遷移

Definition at line 114 of file GrxServerManager.java.

vecServerInfoの更新 vecServerInfoに同名のidが存在すればpInfoを元に更新する

Parameters:
pInfo現在の値
Returns:
boolean 更新した時はtrue

Definition at line 161 of file GrxServerManager.java.


Member Data Documentation

final String com.generalrobotix.ui.util.GrxServerManager.LINE_SEPARATOR = new String( System.getProperty("line.separator") ) [static, private]

Definition at line 37 of file GrxServerManager.java.

Definition at line 36 of file GrxServerManager.java.

Definition at line 40 of file GrxServerManager.java.

Definition at line 41 of file GrxServerManager.java.

Definition at line 39 of file GrxServerManager.java.

Definition at line 32 of file GrxServerManager.java.

SynchronizedAccessor<String> com.generalrobotix.ui.util.GrxServerManager.nameServerLogDir = new SynchronizedAccessor<String>("") [static, private]

Definition at line 35 of file GrxServerManager.java.

SynchronizedAccessor<String> com.generalrobotix.ui.util.GrxServerManager.newHost_ = new SynchronizedAccessor<String>("") [static, private]

Definition at line 34 of file GrxServerManager.java.

SynchronizedAccessor<Integer> com.generalrobotix.ui.util.GrxServerManager.newPort_ = new SynchronizedAccessor<Integer>(0) [static, private]

Definition at line 33 of file GrxServerManager.java.

Definition at line 42 of file GrxServerManager.java.

Definition at line 43 of file GrxServerManager.java.

volatile Vector<ProcessInfo> com.generalrobotix.ui.util.GrxServerManager.vecServerInfo = new Vector<ProcessInfo>() [static, private]

Definition at line 31 of file GrxServerManager.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:44:01