Public Member Functions | |
ProcessInfo | getNameServerInfo () |
NameServerのProcessInfo取得 | |
String | getNameserverLogDir () |
String | getNewHost () |
int | getNewPort () |
Vector< ProcessInfo > | getServerInfo () |
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>() |
Definition at line 30 of file GrxServerManager.java.
com.generalrobotix.ui.util.GrxServerManager.GrxServerManager | ( | String | name, |
GrxPluginManager | manager | ||
) | [inline] |
GrxServerManagerを作り、処理を開始する。
Definition at line 54 of file GrxServerManager.java.
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.
String com.generalrobotix.ui.util.GrxServerManager.generateNameServerArgs | ( | ) | [inline, private] |
Definition at line 247 of file GrxServerManager.java.
NameServerのProcessInfo取得
Definition at line 70 of file GrxServerManager.java.
void com.generalrobotix.ui.util.GrxServerManager.getNameServerInfoFromPerferenceStore | ( | ) | [inline, private] |
Definition at line 253 of file GrxServerManager.java.
String com.generalrobotix.ui.util.GrxServerManager.getNameserverLogDir | ( | ) | [inline] |
Definition at line 83 of file GrxServerManager.java.
String com.generalrobotix.ui.util.GrxServerManager.getNewHost | ( | ) | [inline] |
Definition at line 75 of file GrxServerManager.java.
Definition at line 79 of file GrxServerManager.java.
Vector<ProcessInfo> com.generalrobotix.ui.util.GrxServerManager.getServerInfo | ( | ) | [inline] |
vecServerInfoの取得
Definition at line 62 of file GrxServerManager.java.
void com.generalrobotix.ui.util.GrxServerManager.getServerInfoFromPerferenceStore | ( | ) | [inline, private] |
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.
synchronized void com.generalrobotix.ui.util.GrxServerManager.SaveServerInfo | ( | ) | [inline] |
Definition at line 46 of file GrxServerManager.java.
static void com.generalrobotix.ui.util.GrxServerManager.setNameServerInfoToPreferenceStore | ( | ) | [inline, static] |
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.
static void com.generalrobotix.ui.util.GrxServerManager.setServerInfoToPreferenceStore | ( | ) | [inline, static] |
Definition at line 411 of file GrxServerManager.java.
boolean com.generalrobotix.ui.util.GrxServerManager.toggleProcess | ( | ProcessInfo | pInfo | ) | [inline] |
サーバプログラムの起動トグル
ProcessInfo | 開始と停止を遷移させるサーバプログラム |
Definition at line 114 of file GrxServerManager.java.
boolean com.generalrobotix.ui.util.GrxServerManager.updatedParam | ( | ProcessInfo | pInfo | ) | [inline, private] |
vecServerInfoの更新 vecServerInfoに同名のidが存在すればpInfoを元に更新する
pInfo | 現在の値 |
Definition at line 161 of file GrxServerManager.java.
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.
final int com.generalrobotix.ui.util.GrxServerManager.MAXMUM_PORT_NUMBER = 65535 [static, private] |
Definition at line 36 of file GrxServerManager.java.
String com.generalrobotix.ui.util.GrxServerManager.NAME_SERVER_HOST_ [static] |
Definition at line 40 of file GrxServerManager.java.
String com.generalrobotix.ui.util.GrxServerManager.NAME_SERVER_LOG_DIR_ [static] |
Definition at line 41 of file GrxServerManager.java.
Definition at line 39 of file GrxServerManager.java.
volatile ProcessInfo com.generalrobotix.ui.util.GrxServerManager.nameServerInfo = new ProcessInfo() [static, private] |
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.