|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Methods for controlling which groups a lookup service is a member of, and for controlling which TCP port a lookup service uses for its lookup locator. Lookup services that implement the Administrable interface should return an admin object that implements this interface.
Method Summary | |
void |
addMemberGroups(java.lang.String[] groups)
Add new groups for the lookup service to be a member of. |
java.lang.String[] |
getMemberGroups()
Get the list of groups that the lookup service is a member of. |
int |
getUnicastPort()
Get the port number on which the lookup service listens for unicast discovery queries. |
void |
removeMemberGroups(java.lang.String[] groups)
Remove groups from list that the lookup service is a member of. |
void |
setMemberGroups(java.lang.String[] groups)
Replace the list of groups to be a member of with a new list. |
void |
setUnicastPort(int port)
Set the port number on which the lookup service listens for unicast discovery queries. |
Method Detail |
public java.lang.String[] getMemberGroups() throws java.rmi.RemoteException
public void addMemberGroups(java.lang.String[] groups) throws java.rmi.RemoteException
groups
- groups to be a member ofpublic void removeMemberGroups(java.lang.String[] groups) throws java.rmi.RemoteException
groups
- groups to stop being a member ofpublic void setMemberGroups(java.lang.String[] groups) throws java.rmi.RemoteException
groups
- groups to be a member ofpublic int getUnicastPort() throws java.rmi.RemoteException
public void setUnicastPort(int port) throws java.io.IOException, java.rmi.RemoteException
port
- the port number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |