cgl.narada.discovery.broker.messages
Class BrokerDiscoveryRequest

java.lang.Object
  extended by cgl.narada.discovery.broker.messages.BrokerDiscoveryRequest
All Implemented Interfaces:
Serializable

public class BrokerDiscoveryRequest
extends Object
implements Serializable

Created on Mar 26, 2005

See Also:
Serialized Form

Constructor Summary
BrokerDiscoveryRequest()
           
 
Method Summary
static BrokerDiscoveryRequest createObjectFromBytes(byte[] objectBytes)
          Unmarshalls the bytes as a BrokerDiscoveryRequest object
 String getBelongingToNetwork()
           
 byte[] getBytes()
          Marshalls the object into an array of bytes.
 String getHostname()
           
 int getPort()
           
 String getRequestUUID()
           
 String getSecurityCredentials()
           
 String[] getTransportProtocols()
           
 void setBelongingToNetwork(String belongingToNetwork)
           
 void setHostname(String hostname)
           
 void setPort(int port)
           
 void setSecurityCredentials(String securityCredentials)
           
 void setTransportProtocols(String[] transportProtocols)
           
 String toString()
          For debugging purposes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrokerDiscoveryRequest

public BrokerDiscoveryRequest()
Method Detail

getBytes

public byte[] getBytes()
Marshalls the object into an array of bytes.

Returns:
an array of bytes representing the marshaller object, null if error occurs

createObjectFromBytes

public static BrokerDiscoveryRequest createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a BrokerDiscoveryRequest object

Parameters:
objectBytes -
Returns:
BrokerDiscoveryRequest if successful, null if error occurs

toString

public String toString()
For debugging purposes

Overrides:
toString in class Object

getBelongingToNetwork

public final String getBelongingToNetwork()
Returns:
Returns the belongingToNetwork.

setBelongingToNetwork

public final void setBelongingToNetwork(String belongingToNetwork)
Parameters:
belongingToNetwork - The belongingToNetwork to set.

getHostname

public final String getHostname()
Returns:
Returns the hostname.

setHostname

public final void setHostname(String hostname)
Parameters:
hostname - The hostname to set.

getPort

public final int getPort()
Returns:
Returns the port.

setPort

public final void setPort(int port)
Parameters:
port - The port to set.

getSecurityCredentials

public final String getSecurityCredentials()
Returns:
Returns the securityCredentials.

setSecurityCredentials

public final void setSecurityCredentials(String securityCredentials)
Parameters:
securityCredentials - The securityCredentials to set.

getTransportProtocols

public final String[] getTransportProtocols()
Returns:
Returns the transportProtocols.

setTransportProtocols

public final void setTransportProtocols(String[] transportProtocols)
Parameters:
transportProtocols - The transportProtocols to set.

getRequestUUID

public final String getRequestUUID()
Returns:
Returns the requestUUID.


For comments and suggestions please send e-mail to The NaradaBrokering Project