dd.host.api
Class GetHostReq

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

public class GetHostReq
extends Object
implements QueueElementIF

GetHostReq requests the HostInfo of certain host from the PtrMgr stage.

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

Field Summary
 SecureHash[] hostguids
          Array of guids of hosts to retrieve from the PtrMgr stage.
static short POLICY_CACHEONLY
           
static short POLICY_NONE
           
 SinkIF sink
          Requestor sink to use to return the response.
 Object userData
          Requestor defined object to be returned in the response.
 
Constructor Summary
GetHostReq(SecureHash[] hostguids, Object userData, SinkIF sink)
          Constructor: Creates a new GetHostReq.
GetHostReq(SecureHash hostguid, Object userData, SinkIF sink)
          Constructor: Creates a new GetHostReq.
 
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

POLICY_NONE

public static final short POLICY_NONE
See Also:
Constant Field Values

POLICY_CACHEONLY

public static final short POLICY_CACHEONLY
See Also:
Constant Field Values

hostguids

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


userData

public Object userData
Requestor defined object to be returned in the response.


sink

public SinkIF sink
Requestor sink to use to return the response.

Constructor Detail

GetHostReq

public GetHostReq(SecureHash[] hostguids,
                  Object userData,
                  SinkIF sink)
Constructor: Creates a new GetHostReq.


GetHostReq

public GetHostReq(SecureHash hostguid,
                  Object userData,
                  SinkIF sink)
Constructor: Creates a new GetHostReq.

Method Detail

toString

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

Overrides:
toString in class Object