advancedrelay.laygo
Class StatusReport

java.lang.Object
  |
  +--advancedrelay.laygo.StatusReport

public class StatusReport
extends java.lang.Object

Status report object to be returned by ProtocolService.getStatus().

Encapsulates the status report structure defined in laygodef.h.


Constructor Summary
StatusReport(byte[] data, int size)
          Constructs a StatusReport from the data returned by the protocol stack.
 
Method Summary
 int length()
          Returns the number of block summaries in the status report.
 java.lang.String toString()
          Returns a string representing the complete report.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusReport

public StatusReport(byte[] data,
                    int size)
Constructs a StatusReport from the data returned by the protocol stack.

Parameters:
data - The data returned by the protocol stack.
Method Detail

length

public int length()
Returns the number of block summaries in the status report.


toString

public java.lang.String toString()
Returns a string representing the complete report.

Overrides:
toString in class java.lang.Object