|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemote
Represents an object that has a remote connection
| Method Summary | |
|---|---|
void |
addConnectionListener(IRemoteConnectionListener listener,
boolean immediateNotify)
Register an object to listen for connection and disconnection events |
boolean |
isConnected()
Get the current state of the objects connection |
boolean |
isServer()
If the object is acting as a server |
void |
removeConnectionListener(IRemoteConnectionListener listener)
Unregister a listener from connection events |
| Method Detail |
|---|
void addConnectionListener(IRemoteConnectionListener listener,
boolean immediateNotify)
listener - the listener to be registerimmediateNotify - if the listener object should be notified of the current connection statevoid removeConnectionListener(IRemoteConnectionListener listener)
listener - the listener to be unregisteredboolean isConnected()
boolean isServer()
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||