public interface IMaciSupervisor
| Modifier and Type | Interface and Description |
|---|---|
static class |
IMaciSupervisor.CannotRetrieveManagerException
Can happen when trying to log in to the manager.
|
static class |
IMaciSupervisor.CorbaNoPermissionException
Can happen when trying to shutdown the manager.
|
static class |
IMaciSupervisor.CorbaNotExistException
Can happen when trying to log in to the manager.
|
static class |
IMaciSupervisor.CorbaTransientException
Can happen at every access to the manager.
|
static class |
IMaciSupervisor.CorbaUnknownException
Can happen when releasing a component that wasn't activated before.
|
static class |
IMaciSupervisor.MaciSupervisorException
Base class of the exceptions we're creating ourselves.
|
static class |
IMaciSupervisor.NotConnectedToManagerException
Can happen at every access to the manager.
|
static class |
IMaciSupervisor.UnknownErrorException |
| Modifier and Type | Field and Description |
|---|---|
static short |
MSG_ERROR |
static short |
MSG_INFORMATION |
| Modifier and Type | Method and Description |
|---|---|
void |
dismissManager()
msc (2004-11-09): This was requested, suggested, and agreed upon as a workaround for
the situation where a manager has gone down (and the application using this macisupervisor
knows that the manager is down, e.g.
|
MaciInfo |
getMaciInfo()
Returns a maciInfo instance as retrieved from the manager.
|
java.lang.String |
getManagerLocation()
Some people are interested in the weirdest things..
|
boolean |
isConnected()
Whether this is connected to a manager
|
int |
myMaciHandle()
Returns the handle given by the manager.
|
void |
start()
Start must be called after construction, before usage.
|
void |
stop()
Stop this instance.
|
static final short MSG_INFORMATION
static final short MSG_ERROR
void start()
throws IMaciSupervisor.CannotRetrieveManagerException,
NoPermissionEx,
IMaciSupervisor.CorbaTransientException,
IMaciSupervisor.CorbaNotExistException,
IMaciSupervisor.UnknownErrorException
void stop()
void dismissManager()
boolean isConnected()
java.lang.String getManagerLocation()
int myMaciHandle()
throws IMaciSupervisor.NotConnectedToManagerException
IMaciSupervisor.NotConnectedToManagerException - if no handle availableMaciInfo getMaciInfo() throws NoPermissionEx, IMaciSupervisor.NotConnectedToManagerException, IMaciSupervisor.CorbaTransientException, IMaciSupervisor.CorbaNotExistException, IMaciSupervisor.UnknownErrorException
IMaciSupervisor.NotConnectedToManagerExceptionNoPermissionExIMaciSupervisor.UnknownErrorExceptionIMaciSupervisor.CorbaNotExistExceptionIMaciSupervisor.CorbaTransientException