org.jppf.process.event
Class ProcessWrapperEvent
java.lang.Object
java.util.EventObject
org.jppf.process.event.ProcessWrapperEvent
- All Implemented Interfaces:
- Serializable
public class ProcessWrapperEvent
- extends EventObject
Instances of this class encapsulate an event occurring when a process writes to
its output or error stream.
- Author:
- Laurent Cohen
- See Also:
- Serialized Form
ProcessWrapperEvent
public ProcessWrapperEvent(String content)
- Initialize this event with the specified source.
- Parameters:
content - the source of this event, in effect the content of the corresponding process stream.
getContent
public String getContent()
- Get the content of this event.
- Returns:
- the content as a string, which may include a line terminator.
Copyright © 2005-2010 JPPF Team.