|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectroomba.roombanetwork.server.RNCDefinition
public class RNCDefinition
Contains info about an RNC connected and manages the disconnect timer
| Constructor Summary | |
|---|---|
RNCDefinition(int id,
java.lang.String serviceName,
java.lang.String serviceType)
Constructor |
|
| Method Summary | |
|---|---|
void |
disconnect()
Forces a disconnect of the RNC |
int |
getID()
Gets the ID of the RNC service |
int |
getLock()
Gets the RNC ID that has a lock on this RNC. |
java.lang.String |
getServiceName()
Gets the name of the RNC service |
java.lang.String |
getServiceType()
Gets the type of the RNC service |
boolean |
isConnected()
Indicates if the RNC is still connected to the RNS |
void |
lock(int lockingId)
Specifies a lock on the RNC. |
void |
resetDisconnectTimer()
Resets the disconnect timer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RNCDefinition(int id,
java.lang.String serviceName,
java.lang.String serviceType)
id - The id of the RNC ServiceserviceName - The name of the RNC ServiceserviceType - The type of the RNC Service| Method Detail |
|---|
public int getID()
public java.lang.String getServiceName()
public java.lang.String getServiceType()
public void resetDisconnectTimer()
public boolean isConnected()
public void disconnect()
public void lock(int lockingId)
lockingId - The RNC ID of the service that holds the lock on this RNCpublic int getLock()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||