public class RemoteCmdServer extends RemoteCmdServerIFPOA implements RemoteCmdServerIF, java.lang.Runnable
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| NameServiceName | String | NameService | The name of the requested CORBA Name Service. This value is an application property. |
| NameServicePort | String | 900 | The port number of the requested CORBA Name Service. This value is an application property. |
| NameServiceHost | String | localhost | The host name of the requested CORBA Name Service. This value is an application property. |
| synchronized | boolean | false | Set this value to start the incoming command requests synchroniously. |
| startup | String | none | The system command to that the receive application and instance element id should be apssed. |
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteCmdServer.LogStream
The print stream for logging.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
logFilename |
protected RemoteCmdServer.LogStream |
logStream |
static java.lang.String |
NS_ID |
static java.lang.String |
NS_KIND |
protected java.util.Vector |
parameters |
protected org.omg.PortableServer.POA |
poa |
protected org.omg.PortableServer.POA |
rootPOA |
protected java.lang.String |
startup |
static java.lang.String |
STARTUP |
| Constructor and Description |
|---|
RemoteCmdServer()
Creates a new instance of server
|
| Modifier and Type | Method and Description |
|---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate()
Duplicate the object.
|
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum)
Get the hashcode of this object.
|
boolean |
_is_equivalent(org.omg.CORBA.Object other)
Return a boolean whether the given object is equivalent to this one.
|
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
CommandTransferIF |
getCommand()
Get a transfer object.
|
org.omg.PortableServer.POA |
getPOA()
Get the POA.
|
void |
init(java.lang.String[] args)
Initialize the server.
|
static void |
main(java.lang.String[] args) |
void |
run()
The run method.
|
_all_interfaces, _invoke, _this, _this_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_objectpublic static final java.lang.String STARTUP
public static final java.lang.String NS_ID
public static final java.lang.String NS_KIND
protected org.omg.PortableServer.POA rootPOA
protected org.omg.PortableServer.POA poa
protected java.util.Vector parameters
protected java.lang.String startup
protected java.lang.String logFilename
protected RemoteCmdServer.LogStream logStream
public org.omg.PortableServer.POA getPOA()
public void init(java.lang.String[] args)
throws java.lang.Exception
the - command line arguments.an - exception if failed.java.lang.Exceptionpublic CommandTransferIF getCommand() throws RemoteCmdException
getCommand in interface RemoteCmdServerIFOperationsjava.rmi.RemoteException - REMOTECMD_BAD_PARAMETER
REMOTECMD_CONNECTION_LOST
REMOTECMD_IMPLEMENTATION_PROBLEM
REMOTECMD_NOT_IMPLEMENTED
REMOTECMD_NO_MEMORYRemoteCmdExceptionpublic void run()
run in interface java.lang.Runnablepublic static void main(java.lang.String[] args)
args - the command line argumentspublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _duplicate()
_duplicate in interface org.omg.CORBA.Objectpublic org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy in interface org.omg.CORBA.Objectpublic int _hash(int maximum)
_hash in interface org.omg.CORBA.Objectpublic boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _request(java.lang.String operation)
_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add)
_set_policy_override in interface org.omg.CORBA.Objectpublic void _release()
_release in interface org.omg.CORBA.Object