com.novell.zos.grid
Interface Message.ServerStatus
- All Superinterfaces:
- Cloneable, Message, Serializable
- Enclosing interface:
- Message
public static interface Message.ServerStatus
- extends Message
A ServerStatus message.
ServerStatus is different from a normal status message from the
server because it normally requires an action on the part of the
receiver whereas a Status is more informational.
ServerStatus can be used for server shutdown, restart, version
upgrade, migration to new host, etc.
Nested classes/interfaces inherited from interface com.novell.zos.grid.Message |
Message.Ack, Message.AuthFailure, Message.ClientResponseMessage, Message.Event, Message.GetGridObjects, Message.GridObjects, Message.JobAccepted, Message.JobError, Message.JobFinished, Message.JobIdEvent, Message.JobInfo, Message.Jobs, Message.JobStarted, Message.JobStatus, Message.LoginFailed, Message.LoginSuccess, Message.LogoutAck, Message.NeedUpgrade, Message.RunningJobs, Message.ServerStatus, Message.SessionAck, Message.SessionChallenge, Message.SessionResponse, Message.SessionStatus |
Fields inherited from interface com.novell.zos.grid.Message |
ACK, AUTH_FAILURE, COMPLETE, EVENT, GET_GRID_OBJECTS, GRID_OBJECTS, JOB_ACCEPTED, JOB_ERROR, JOB_FINISHED, JOB_INFO, JOB_STARTED, JOB_STATUS, JOB_STATUS_DETAIL, JOBS, LOGIN_FAILED, LOGIN_SUCCESS, LOGOUT_ACK, NEED_UPGRADE, RUN_JOB2, RUNNING_JOBS, SERVER_STATUS, SESSION_ACK, SESSION_CHALLENGE, SESSION_RESPONSE, SESSION_STATUS |
Method Summary |
String |
getMessage()
Retrieve status message from server. |
int |
getStatusType()
Returns one of the integer constants indicating what kind of
server status is being reported. |
NO_STATUS
static final int NO_STATUS
- See Also:
- Constant Field Values
SHUTDOWN
static final int SHUTDOWN
- See Also:
- Constant Field Values
getStatusType
int getStatusType()
- Returns one of the integer constants indicating what kind of
server status is being reported.
getMessage
String getMessage()
- Retrieve status message from server.
- Returns:
- Status message from server. maybe null.
Copyright 2008 Novell, Inc. All Rights Reserved.