|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectroomba.roombanetwork.server.RNCTable
public class RNCTable
Stores information about the stored RNCs
| Constructor Summary | |
|---|---|
RNCTable()
|
|
| Method Summary | |
|---|---|
void |
addRNCDefinition(RNCDefinition rncDefinition)
Adds an RNC Definition to the table |
void |
disconnectRNC(int id)
Disconnected an RNC that is contained in the table |
java.util.Vector |
getConnectedRNCs(int idFilter,
java.lang.String serviceNameFilter,
java.lang.String serviceTypeFilter)
Returns a list of RNC Definitions from the table that match the specified filters |
java.util.Vector |
getDisconnectedRNCs()
Returns a list of disconnected RNC Definitions from the table |
java.lang.String |
getServiceName(int id)
Returns the name of an RNC stored in the table |
java.lang.String |
getServiceType(int id)
Returns the type of an RNC stored in the table |
boolean |
isConnected(int id)
Indicates if an RNC contained in the table is still connected to the RNS. |
void |
lock(int lockedId,
int lockingId)
Locks an RNC contained in the table. |
void |
removeRNCDefinition(int id)
Removes an RNC Definition from the table |
void |
removeRNCDefinition(RNCDefinition rncDefinition)
Removes an RNC Definition from the table |
void |
resetDisconnectTimer(int id)
Resets the disconnect timer of an RNC that is contained in the table. |
boolean |
serviceSubscribed(int id,
java.lang.String serviceName,
java.lang.String serviceType)
Checks if a service matches the filters contained in the RNC Definitions in this table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RNCTable()
| Method Detail |
|---|
public void addRNCDefinition(RNCDefinition rncDefinition)
rncDefinition - The RNC Definition to addpublic void removeRNCDefinition(int id)
id - The ID of the RNC to removepublic void removeRNCDefinition(RNCDefinition rncDefinition)
rncDefinition - The RNC Definition to removepublic void disconnectRNC(int id)
id - The ID of the RNC to disconnectpublic void resetDisconnectTimer(int id)
id - The ID of the RNC to resetpublic boolean isConnected(int id)
id - The ID of the RNC to check the status of
public void lock(int lockedId,
int lockingId)
lockedId - The ID of the RNC that is lockedlockingId - The ID of the RNC locking the locked RNCpublic java.lang.String getServiceName(int id)
id - The ID of the RNC from which to get the name
public java.lang.String getServiceType(int id)
id - The ID of the RNC from which to get the type
public java.util.Vector getConnectedRNCs(int idFilter,
java.lang.String serviceNameFilter,
java.lang.String serviceTypeFilter)
idFilter - The ID to filter on. -1 if the ID Filter matches any IDserviceNameFilter - The name to filter on. "*" if the name filter matches any nameserviceTypeFilter - The type to filter on. "*" if the type filter matches any type
public java.util.Vector getDisconnectedRNCs()
public boolean serviceSubscribed(int id,
java.lang.String serviceName,
java.lang.String serviceType)
id - The ID of the service to checkserviceName - The name of the service to checkserviceType - The type of the service to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||