public class MulticastRequest extends Object
| Modifier and Type | Field and Description | 
|---|---|
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 and Description | 
|---|
MulticastRequest(String host,
                int port,
                String[] groups,
                ServiceID[] serviceIDs)
Creates a new  
MulticastRequest instance containing the given values. | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
protected String host
protected int port
protected String[] groups
protected ServiceID[] serviceIDs
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 servicesNullPointerException - if host is null, or if
                                  groups or serviceIDs contains
                                  nullIllegalArgumentException - if port is out of rangepublic String getHost()
public int getPort()
public String[] getGroups()
public ServiceID[] getServiceIDs()
public void checkConstraints()
                      throws IOException
UnsupportedConstraintException - if unable to satisfy the specified constraintsSecurityException - if the given constraints cannot be satisfied due to
                                        insufficient caller permissions, or if the client
                                        subject check failsIOException - if an error occurs in interpreting the dataCopyright © GigaSpaces.