|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jini.discovery.MulticastRequest
public class MulticastRequest
Class representing the values in a multicast request.
| Field Summary | |
|---|---|
protected String[] |
groups
The groups of interest. |
protected String |
host
The client host. |
protected int |
port
The client listen port. |
protected ServiceID[] |
serviceIDs
The IDs of known lookup services. |
| Constructor Summary | |
|---|---|
MulticastRequest(String host,
int port,
String[] groups,
ServiceID[] serviceIDs)
Creates a new MulticastRequest instance containing the
given values. |
|
| Method Summary | |
|---|---|
void |
checkConstraints()
Checks if the constraints whose checking was delayed when this instance was decoded, if any, are satisfied. |
String[] |
getGroups()
Returns the groups targeted by the request. |
String |
getHost()
Returns the client host name. |
int |
getPort()
Returns the client listen port. |
ServiceID[] |
getServiceIDs()
Returns the service IDs of known lookup services. |
String |
toString()
Returns string representation of this request. |
| 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 ServiceID[] serviceIDs
| Constructor Detail |
|---|
public MulticastRequest(String host,
int port,
String[] groups,
ServiceID[] serviceIDs)
MulticastRequest instance containing the
given values. Arrays are copied; null array values are
considered equivalent to empty arrays.
host - the client hostport - the client listen portgroups - the groups of interestserviceIDs - the IDs of known lookup services
NullPointerException - if host is null,
or if groups or serviceIDs contains
null
IllegalArgumentException - if port is out of range| Method Detail |
|---|
public String getHost()
public int getPort()
public String[] getGroups()
public ServiceID[] getServiceIDs()
public void checkConstraints()
throws IOException
UnsupportedConstraintException - if unable to satisfy the specified
constraints
SecurityException - if the given constraints cannot be satisfied
due to insufficient caller permissions, or if the client subject check
fails
IOException - if an error occurs in interpreting the datapublic String toString()
toString in class Object
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||