tapestry.ptr.api
Class RegisterHostAppResp

java.lang.Object
  |
  +--tapestry.ptr.api.RegisterHostAppResp
All Implemented Interfaces:
QueueElementIF

public class RegisterHostAppResp
extends Object
implements QueueElementIF

RegisterHostAppResp response that the application was registerd with the local HostHbStage as a service that will be exported to the rest of the system.

The application is added to a filter of all applications that the local host is exporting. The filter is exported to other nodes in the system through the use of host_heartbeats

Version:
$Id: RegisterHostAppResp.java,v 1.1.1.1 2004/03/26 19:57:10 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
HostInfo, HostHbStage

Field Summary
 String _name
          String representation of application that was registered with the local HostHbStage to be exported as a service to rest of the system.
 Object userData
          Requestor defined object placed in the request and returned in the RegisterHostAppResp.
 
Constructor Summary
RegisterHostAppResp(String name, Object userData)
          Constructor: Creates a new RegisterHostAppResp.
 
Method Summary
 String getName()
          getName returns the name of the application that was registered with the local HostHbStage to be exported as a service to rest of the system..
 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

_name

public String _name
String representation of application that was registered with the local HostHbStage to be exported as a service to rest of the system. For example "storageserver". Note: case does not matter, but space, underscore, etc does.


userData

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

Constructor Detail

RegisterHostAppResp

public RegisterHostAppResp(String name,
                           Object userData)
Constructor: Creates a new RegisterHostAppResp.

Method Detail

getName

public String getName()
getName returns the name of the application that was registered with the local HostHbStage to be exported as a service to rest of the system..

Returns:
name of application was registered.

toString

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

Overrides:
toString in class Object