|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.discovery.UnicastResponse
public class UnicastResponse
Class representing the values obtained as the result of unicast discovery.
Field Summary | |
---|---|
protected String[] |
groups
The lookup service member groups. |
protected String |
host
The lookup service host. |
protected int |
port
The lookup service listen port. |
protected ServiceRegistrar |
registrar
The lookup service proxy. |
Constructor Summary | |
---|---|
UnicastResponse(String host,
int port,
String[] groups,
ServiceRegistrar registrar)
Creates new UnicastResponse instance containing the given
values. |
|
UnicastResponse(String host,
int port,
String[] groups,
ServiceRegistrar registrar,
MarshalledObject marshalledObjectRegistrar,
byte[] registrarBytes)
|
Method Summary | |
---|---|
String[] |
getGroups()
Returns the member groups of the lookup service. |
String |
getHost()
Returns the lookup service host name. |
MarshalledObject |
getMarshalledObjectRegistrar()
|
int |
getPort()
Returns the lookup service listen port. |
ServiceRegistrar |
getRegistrar()
Returns the lookup service proxy. |
byte[] |
getRegistrarBytes()
|
String |
toString()
Returns a string representation of this response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String host
protected int port
protected String[] groups
protected ServiceRegistrar registrar
Constructor Detail |
---|
public UnicastResponse(String host, int port, String[] groups, ServiceRegistrar registrar)
UnicastResponse
instance containing the given
values. The groups
array is copied; a null
value is considered equivalent to an empty array.
host
- the lookup service hostport
- the lookup service listen portgroups
- the lookup service member groupsregistrar
- the lookup service proxy
NullPointerException
- if host
or
registrar
is null
, or if groups
contains null
IllegalArgumentException
- if port
is out of rangepublic UnicastResponse(String host, int port, String[] groups, ServiceRegistrar registrar, MarshalledObject marshalledObjectRegistrar, byte[] registrarBytes)
Method Detail |
---|
public byte[] getRegistrarBytes()
public MarshalledObject getMarshalledObjectRegistrar()
public String getHost()
public int getPort()
public String[] getGroups()
public ServiceRegistrar getRegistrar()
public String toString()
toString
in class Object
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |