org.apache.yoko.orb.IMR
Class _ServerStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.apache.yoko.orb.IMR._ServerStub
All Implemented Interfaces:
Serializable, Server, ServerOperations, Object, IDLEntity

public class _ServerStub
extends ObjectImpl
implements Server

See Also:
Serialized Form

Field Summary
static Class _ob_opsClass
           
 
Constructor Summary
_ServerStub()
           
 
Method Summary
 String[] _ids()
           
 boolean activatePOAs()
          Allow implicit POA activation.
 void activatePOAs(boolean _ob_a)
           
 String[] args()
          The server's command-line arguments.
 void args(String[] _ob_a)
           
 void clear_error_state()
          Clear the servers error state
 void create_poa_record(String[] _ob_a0)
          Create a POA record.
 void destroy()
          Destroy the server record.
 String directory()
          The server's runtime directory.
 void directory(String _ob_a)
           
 String exec()
          The exec string for the server.
 void exec(String _ob_a)
           
 int failureTimeout()
          The failure timeout.
 void failureTimeout(int _ob_a)
           
 POAInfo get_poa_info(String[] _ob_a0)
          Retrieve POA info record.
 String host()
          The server host.
 void host(String _ob_a)
           
 int id()
          The server id.
 POAInfo[] list_poas()
          List the poas.
 boolean manual()
          Was this process manually started?
 short maxForks()
          The maximum number of forks.
 void maxForks(short _ob_a)
           
 ServerActivationMode mode()
          The server mode
 void mode(ServerActivationMode _ob_a)
           
 String name()
          The server name.
 void name(String _ob_a)
           
 void remove_poa_record(String[] _ob_a0)
          Remove a POA record.
 void start()
          Start the server, if not running.
 ServerStatus status()
          The server status.
 void stop()
          Stop the server, if running.
 short timesForked()
          The number of times restarted.
 int updateTime()
          The last update time.
 int updateTimeout()
          The update timeout.
 void updateTimeout(int _ob_a)
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

_ob_opsClass

public static final Class _ob_opsClass
Constructor Detail

_ServerStub

public _ServerStub()
Method Detail

_ids

public String[] _ids()
Specified by:
_ids in class ObjectImpl

id

public int id()
Description copied from interface: ServerOperations
The server id.

Specified by:
id in interface ServerOperations

status

public ServerStatus status()
Description copied from interface: ServerOperations
The server status.

Specified by:
status in interface ServerOperations

manual

public boolean manual()
Description copied from interface: ServerOperations
Was this process manually started?

Specified by:
manual in interface ServerOperations

updateTime

public int updateTime()
Description copied from interface: ServerOperations
The last update time.

Specified by:
updateTime in interface ServerOperations

timesForked

public short timesForked()
Description copied from interface: ServerOperations
The number of times restarted.

Specified by:
timesForked in interface ServerOperations

name

public String name()
Description copied from interface: ServerOperations
The server name.

Specified by:
name in interface ServerOperations

name

public void name(String _ob_a)
Specified by:
name in interface ServerOperations

host

public String host()
Description copied from interface: ServerOperations
The server host.

Specified by:
host in interface ServerOperations

host

public void host(String _ob_a)
Specified by:
host in interface ServerOperations

exec

public String exec()
Description copied from interface: ServerOperations
The exec string for the server.

Specified by:
exec in interface ServerOperations

exec

public void exec(String _ob_a)
Specified by:
exec in interface ServerOperations

args

public String[] args()
Description copied from interface: ServerOperations
The server's command-line arguments.

Specified by:
args in interface ServerOperations

args

public void args(String[] _ob_a)
Specified by:
args in interface ServerOperations

directory

public String directory()
Description copied from interface: ServerOperations
The server's runtime directory.

Specified by:
directory in interface ServerOperations

directory

public void directory(String _ob_a)
Specified by:
directory in interface ServerOperations

mode

public ServerActivationMode mode()
Description copied from interface: ServerOperations
The server mode

Specified by:
mode in interface ServerOperations

mode

public void mode(ServerActivationMode _ob_a)
Specified by:
mode in interface ServerOperations

updateTimeout

public int updateTimeout()
Description copied from interface: ServerOperations
The update timeout.

Specified by:
updateTimeout in interface ServerOperations

updateTimeout

public void updateTimeout(int _ob_a)
Specified by:
updateTimeout in interface ServerOperations

failureTimeout

public int failureTimeout()
Description copied from interface: ServerOperations
The failure timeout.

Specified by:
failureTimeout in interface ServerOperations

failureTimeout

public void failureTimeout(int _ob_a)
Specified by:
failureTimeout in interface ServerOperations

maxForks

public short maxForks()
Description copied from interface: ServerOperations
The maximum number of forks.

Specified by:
maxForks in interface ServerOperations

maxForks

public void maxForks(short _ob_a)
Specified by:
maxForks in interface ServerOperations

activatePOAs

public boolean activatePOAs()
Description copied from interface: ServerOperations
Allow implicit POA activation.

Specified by:
activatePOAs in interface ServerOperations

activatePOAs

public void activatePOAs(boolean _ob_a)
Specified by:
activatePOAs in interface ServerOperations

create_poa_record

public void create_poa_record(String[] _ob_a0)
                       throws POAAlreadyRegistered
Description copied from interface: ServerOperations
Create a POA record.

Specified by:
create_poa_record in interface ServerOperations
Parameters:
_ob_a0 - The POA to create
Throws:
POAAlreadyRegistered

remove_poa_record

public void remove_poa_record(String[] _ob_a0)
                       throws _NoSuchPOA
Description copied from interface: ServerOperations
Remove a POA record.

Specified by:
remove_poa_record in interface ServerOperations
Parameters:
_ob_a0 - The POA to remove
Throws:
_NoSuchPOA

get_poa_info

public POAInfo get_poa_info(String[] _ob_a0)
                     throws _NoSuchPOA
Description copied from interface: ServerOperations
Retrieve POA info record.

Specified by:
get_poa_info in interface ServerOperations
Parameters:
_ob_a0 - The POA name
Returns:
The POA info record.
Throws:
_NoSuchPOA

list_poas

public POAInfo[] list_poas()
Description copied from interface: ServerOperations
List the poas.

Specified by:
list_poas in interface ServerOperations
Returns:
A sequence of poa names.

clear_error_state

public void clear_error_state()
Description copied from interface: ServerOperations
Clear the servers error state

Specified by:
clear_error_state in interface ServerOperations

start

public void start()
           throws ServerRunning
Description copied from interface: ServerOperations
Start the server, if not running.

Specified by:
start in interface ServerOperations
Throws:
ServerRunning

stop

public void stop()
          throws OADNotRunning,
                 ServerNotRunning
Description copied from interface: ServerOperations
Stop the server, if running.

Specified by:
stop in interface ServerOperations
Throws:
OADNotRunning
ServerNotRunning

destroy

public void destroy()
             throws ServerRunning
Description copied from interface: ServerOperations
Destroy the server record.

Specified by:
destroy in interface ServerOperations
Throws:
ServerRunning


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.