public class EnhancedMessageEvent extends MessageEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_SENDING
Sent when a file was successfully sent to server.
|
static java.lang.String |
MERGED_PATH
Sent by MergedResponse when 2 files were merged.
|
static java.lang.String |
REQUESTS_COUNT
Sent before all request are processed.
|
static java.lang.String |
REQUESTS_SENT
Sent when a all requests were sent to server.
|
Constructor and Description |
---|
EnhancedMessageEvent(java.lang.Object source,
java.lang.String key,
java.lang.Object value)
Construct a MessageEvent
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Getter for property key.
|
java.lang.Object |
getValue()
Getter for property value.
|
void |
setKey(java.lang.String key)
Setter for property key.
|
void |
setValue(java.lang.Object value)
Setter for property value.
|
fireEvent, getMessage, getRawData, isError, isTagged, parseTaggedMessage, setError, setMessage, setTagged
public static final java.lang.String MERGED_PATH
public static final java.lang.String FILE_SENDING
public static final java.lang.String REQUESTS_SENT
public static final java.lang.String REQUESTS_COUNT
public EnhancedMessageEvent(java.lang.Object source, java.lang.String key, java.lang.Object value)
source
- the source of the eventkey
- identifier. Specifies what the value object is.value.
- Some value passed to the listeners. The key parameter helps
the listeners to identify the value and handle it correctly.
for stderr rather than stdout), false otherwisepublic java.lang.String getKey()
public void setKey(java.lang.String key)
key
- New value of property key.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- New value of property value.Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.