org.jdiagnose.remote
Class DefaultRemoteResult

java.lang.Object
  extended byorg.jdiagnose.remote.DefaultRemoteResult
All Implemented Interfaces:
RemoteResult

public class DefaultRemoteResult
extends java.lang.Object
implements RemoteResult

Author:
jmccrindle

Constructor Summary
DefaultRemoteResult()
           
DefaultRemoteResult(java.lang.String guid, ResultInfo resultInfo, java.lang.String agent, java.lang.String host, long sequenceNumber)
           
 
Method Summary
 java.lang.String getAgent()
           
 java.lang.String getGuid()
           
 java.lang.String getHost()
           
 ResultInfo getResultInfo()
           
 long getSequenceNumber()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRemoteResult

public DefaultRemoteResult()

DefaultRemoteResult

public DefaultRemoteResult(java.lang.String guid,
                           ResultInfo resultInfo,
                           java.lang.String agent,
                           java.lang.String host,
                           long sequenceNumber)
Parameters:
resultInfo -
agent -
host -
Method Detail

getResultInfo

public ResultInfo getResultInfo()
Specified by:
getResultInfo in interface RemoteResult
Returns:
Information about the result itself.

getAgent

public java.lang.String getAgent()
Specified by:
getAgent in interface RemoteResult
Returns:
the name of the agent that ran the diagnostic

getHost

public java.lang.String getHost()
Specified by:
getHost in interface RemoteResult
Returns:
the name of the host that ran the diagnostic

getGuid

public java.lang.String getGuid()
Specified by:
getGuid in interface RemoteResult
Returns:
a globally unique identifier for this result should not be null.

toString

public java.lang.String toString()

getSequenceNumber

public long getSequenceNumber()
Specified by:
getSequenceNumber in interface RemoteResult
Returns:
Returns the sequenceNumber.


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.