org.scribble.protocol.monitor.util
Class MonitorModelUtil

java.lang.Object
  extended by org.scribble.protocol.monitor.util.MonitorModelUtil

public final class MonitorModelUtil
extends Object

Monitor model utility functions.


Method Summary
static Description deserialize(InputStream is)
          This method deserialises the model from the input stream.
static void serialize(Description desc, OutputStream os)
          This method serializes the supplied monitor description to the supplied output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

deserialize

public static Description deserialize(InputStream is)
                               throws IOException
This method deserialises the model from the input stream.

Parameters:
is - The input stream
Returns:
The monitor description
Throws:
IOException - Failed to deserialize

serialize

public static void serialize(Description desc,
                             OutputStream os)
                      throws IOException
This method serializes the supplied monitor description to the supplied output stream.

Parameters:
desc - The monitoring description
os - The output stream
Throws:
IOException - Failed to serialize


Copyright © 2008-Present Scribble.org. All Rights Reserved.