public class IncomingUnicastResponse extends Object
IncomingUnicastRequest
Modifier and Type | Field and Description |
---|---|
protected String[] |
groups
The groups the lookup service was a member of, at the time
discovery was performed.
|
protected ServiceRegistrar |
registrar
The registrar we have discovered.
|
Constructor and Description |
---|
IncomingUnicastResponse(InputStream str)
Construct a new object, initialized by unmarshaling the
contents of an input stream.
|
Modifier and Type | Method and Description |
---|---|
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() |
protected ServiceRegistrar registrar
protected String[] groups
public IncomingUnicastResponse(InputStream str) throws IOException, ClassNotFoundException
str
- the stream from which to unmarshal the responseIOException
- an error occurred while unmarshaling the
responseClassNotFoundException
- some of the lookup service
classes could not be found or downloadedpublic ServiceRegistrar getRegistrar()
public String[] getGroups()
ServiceRegistrar.getGroups()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.