net.grinder.messages.console
Class RegisterExpressionViewMessage

java.lang.Object
  extended by net.grinder.messages.console.RegisterExpressionViewMessage
All Implemented Interfaces:
Externalizable, Serializable, Message

public final class RegisterExpressionViewMessage
extends Object
implements Message, Externalizable

Message used to register a expression view with Console.

Author:
Philip Aston
See Also:
Serialized Form

Constructor Summary
RegisterExpressionViewMessage()
          Default constructor for externalisation.
RegisterExpressionViewMessage(ExpressionView statisticsView)
          Constructor.
 
Method Summary
 ExpressionView getExpressionView()
          Get the expression view.
 void readExternal(ObjectInput in)
          Externalisation method.
 void writeExternal(ObjectOutput out)
          Externalisation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterExpressionViewMessage

public RegisterExpressionViewMessage(ExpressionView statisticsView)
Constructor.

Parameters:
statisticsView - Definition of expression view.

RegisterExpressionViewMessage

public RegisterExpressionViewMessage()
Default constructor for externalisation.

Method Detail

getExpressionView

public ExpressionView getExpressionView()
Get the expression view.

Returns:
The expression view.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Externalisation method.

Specified by:
writeExternal in interface Externalizable
Parameters:
out - Handle to the output stream.
Throws:
IOException - If an I/O error occurs.

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Externalisation method.

Specified by:
readExternal in interface Externalizable
Parameters:
in - Handle to the input stream.
Throws:
IOException - If an I/O error occurs.


Copyright © 2000-2013. All Rights Reserved.