|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.feedback.ProgressCountFeedback
Feedback object to carry progress count values to client. This class can be used by server-side methods to push progress count values to a client while an operation is being performed.
This class implements Externalizable as a performance improvement over Serializable.
Supported API: true
Extendable: true
Field Summary | |
private int |
progressCount
|
(package private) static long |
serialVersionUID
|
private static String |
versionID
|
Constructor Summary | |
ProgressCountFeedback()
Public no-arg constructor required by Externalizable. |
|
ProgressCountFeedback(int progressCount)
Construct a new StatusFeedback object to carry the given status string. |
Method Summary | |
void |
execute()
Perform feedback operation in client. |
void |
readExternal(ObjectInput input_stream)
Called during marshaling on the client side. |
void |
writeExternal(ObjectOutput output_stream)
Called during marshaling on the server side. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String versionID
static final long serialVersionUID
private int progressCount
Constructor Detail |
public ProgressCountFeedback()
public ProgressCountFeedback(int progressCount)
StatusFeedback
object to carry the given status string.
Method Detail |
public void execute()
WTThread
, the thread's progress counter property is set to this objects
counter value.
execute
in interface MethodFeedback
public void readExternal(ObjectInput input_stream) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput output_stream) throws IOException
writeExternal
in interface Externalizable
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |