| 
 | GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jini.discovery.IncomingUnicastResponse
public class IncomingUnicastResponse
This class encapsulates the details of unmarshaling an incoming unicast response.
IncomingUnicastRequest| Field Summary | |
|---|---|
| protected  String[] | groupsThe groups the lookup service was a member of, at the time discovery was performed. | 
| protected  ServiceRegistrar | registrarThe registrar we have discovered. | 
| Constructor Summary | |
|---|---|
| IncomingUnicastResponse(InputStream str)Construct a new object, initialized by unmarshaling the contents of an input stream. | |
| Method Summary | |
|---|---|
|  boolean | equals(Object o)Two responses are equal if they have the same registrar. | 
|  String[] | getGroups()Return the set of groups of which the lookup service we discovered was a member when we discovered it. | 
|  ServiceRegistrar | getRegistrar()Return the lookup service registrar we have discovered. | 
|  int | hashCode() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected ServiceRegistrar registrar
protected String[] groups
| Constructor Detail | 
|---|
public IncomingUnicastResponse(InputStream str)
                        throws IOException,
                               ClassNotFoundException
str - the stream from which to unmarshal the response
IOException - an error occurred while unmarshaling the
 response
ClassNotFoundException - some of the lookup service
 classes could not be found or downloaded| Method Detail | 
|---|
public ServiceRegistrar getRegistrar()
public String[] getGroups()
ServiceRegistrar.getGroups()public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals 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 | |||||||||