org.apache.yoko.orb.IMR
Interface ServerOperations

All Known Subinterfaces:
Server
All Known Implementing Classes:
_ServerStub, ServerPOA

public interface ServerOperations

The Server interface.


Method Summary
 boolean activatePOAs()
          Allow implicit POA activation.
 void activatePOAs(boolean val)
           
 String[] args()
          The server's command-line arguments.
 void args(String[] val)
           
 void clear_error_state()
          Clear the servers error state
 void create_poa_record(String[] poa)
          Create a POA record.
 void destroy()
          Destroy the server record.
 String directory()
          The server's runtime directory.
 void directory(String val)
           
 String exec()
          The exec string for the server.
 void exec(String val)
           
 int failureTimeout()
          The failure timeout.
 void failureTimeout(int val)
           
 POAInfo get_poa_info(String[] poa)
          Retrieve POA info record.
 String host()
          The server host.
 void host(String val)
           
 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 val)
           
 ServerActivationMode mode()
          The server mode
 void mode(ServerActivationMode val)
           
 String name()
          The server name.
 void name(String val)
           
 void remove_poa_record(String[] poa)
          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 val)
           
 

Method Detail

id

int id()
The server id.


status

ServerStatus status()
The server status.


manual

boolean manual()
Was this process manually started?


updateTime

int updateTime()
The last update time.


timesForked

short timesForked()
The number of times restarted.


name

String name()
The server name.


name

void name(String val)

host

String host()
The server host.


host

void host(String val)

exec

String exec()
The exec string for the server.


exec

void exec(String val)

args

String[] args()
The server's command-line arguments.


args

void args(String[] val)

directory

String directory()
The server's runtime directory.


directory

void directory(String val)

mode

ServerActivationMode mode()
The server mode


mode

void mode(ServerActivationMode val)

updateTimeout

int updateTimeout()
The update timeout.


updateTimeout

void updateTimeout(int val)

failureTimeout

int failureTimeout()
The failure timeout.


failureTimeout

void failureTimeout(int val)

maxForks

short maxForks()
The maximum number of forks.


maxForks

void maxForks(short val)

activatePOAs

boolean activatePOAs()
Allow implicit POA activation.


activatePOAs

void activatePOAs(boolean val)

create_poa_record

void create_poa_record(String[] poa)
                       throws POAAlreadyRegistered
Create a POA record.

Parameters:
poa - The POA to create
Throws:
POAAlreadyRegistered

remove_poa_record

void remove_poa_record(String[] poa)
                       throws _NoSuchPOA
Remove a POA record.

Parameters:
poa - The POA to remove
Throws:
_NoSuchPOA

get_poa_info

POAInfo get_poa_info(String[] poa)
                     throws _NoSuchPOA
Retrieve POA info record.

Parameters:
poa - The POA name
Returns:
The POA info record.
Throws:
_NoSuchPOA

list_poas

POAInfo[] list_poas()
List the poas.

Returns:
A sequence of poa names.

clear_error_state

void clear_error_state()
Clear the servers error state


start

void start()
           throws ServerRunning
Start the server, if not running.

Throws:
ServerRunning

stop

void stop()
          throws OADNotRunning,
                 ServerNotRunning
Stop the server, if running.

Throws:
OADNotRunning
ServerNotRunning

destroy

void destroy()
             throws ServerRunning
Destroy the server record.

Throws:
ServerRunning


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