dd.host.api
Class GetHostResp

java.lang.Object
  |
  +--dd.host.api.GetHostResp
All Implemented Interfaces:
QueueElementIF

public class GetHostResp
extends Object
implements QueueElementIF

GetHostResp returns the HostInfos requested from the PtrMgr stage by a preceding GetHostReq.

Version:
$Id: GetHostResp.java,v 1.1.1.1 2004/04/06 00:09:56 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
 HostInfo[] hinfos
          Array of HostInfo's returned from the PtrMgr stage.
 SecureHash[] hostguids
          Array of guids of hosts to retrieve from the PtrMgr stage.
 Object userData
          Requestor defined object placed in the request and returned in the GetHostResp.
 
Constructor Summary
GetHostResp(SecureHash[] hostguids, HostInfo[] hinfos, Object userData)
          Constructor: Creates a new GetHostResp.
GetHostResp(SecureHash hostguid, HostInfo hinfo, Object userData)
          Constructor: Creates a new GetHostResp.
 
Method Summary
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hostguids

public SecureHash[] hostguids
Array of guids of hosts to retrieve from the PtrMgr stage.


hinfos

public HostInfo[] hinfos
Array of HostInfo's returned from the PtrMgr stage.


userData

public Object userData
Requestor defined object placed in the request and returned in the GetHostResp.

Constructor Detail

GetHostResp

public GetHostResp(SecureHash[] hostguids,
                   HostInfo[] hinfos,
                   Object userData)
Constructor: Creates a new GetHostResp.


GetHostResp

public GetHostResp(SecureHash hostguid,
                   HostInfo hinfo,
                   Object userData)
Constructor: Creates a new GetHostResp.

Method Detail

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object