Code example for IOException

Methods: getMessage

   * Utility method to extract a SCN regress message from a DbusEvent 
   * Note: Ensure that this is a SCNRegressMessage event before calling this method. 
   * @param event 
   * @return 
  public static SCNRegressMessage getSCNRegressFromEvent(DbusEvent event)
    assert (event.isSCNRegressMessage());
    ByteBuffer valueBuffer = event.value();
    byte[] valueBytes = new byte[valueBuffer.limit()];
    SCNRegressMessage newRegressMsg = SCNRegressMessage.getRegressMessage(new String(valueBytes));
    return newRegressMsg;
  // TODO Consider moving appendEvent to buffer into this class as a static method.