com.novell.zos.grid
Interface Message.Event

All Superinterfaces:
Cloneable, Message, Message.JobIdEvent, Serializable
Enclosing interface:
Message

public static interface Message.Event
extends Message.JobIdEvent

An Event is used to signal clients and workflows. A client can receive an Event sent from a workflow. The ClientAgent.sendEvent() constructs an Event to send to workflows.


Nested Class Summary
 
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
 
Field Summary
 
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 getEventType()
          Retrieve the name of this event.
 String getOriginJobID()
          JobID of origin job.
 Map getParams()
          Retrieve Map of event parameters (if any).
 
Methods inherited from interface com.novell.zos.grid.Message.JobIdEvent
getJobID
 
Methods inherited from interface com.novell.zos.grid.Message
getCreationTime, getSource, getType, getTypeString
 

Method Detail

getEventType

String getEventType()
Retrieve the name of this event.

Returns:
Name of event

getParams

Map getParams()
Retrieve Map of event parameters (if any).

Returns:
Map of event parameters. Can be empty.

getOriginJobID

String getOriginJobID()
JobID of origin job. getOriginJobID will be the same as getJobID() if event came from the origin job.

Returns:
JobID of origin job


Copyright 2008 Novell, Inc. All Rights Reserved.