edu.wpi.first.wpilibj.networktables
Class NetworkTableConnectionListenerAdapter
java.lang.Object
edu.wpi.first.wpilibj.networktables.NetworkTableConnectionListenerAdapter
- All Implemented Interfaces:
- IRemoteConnectionListener
public class NetworkTableConnectionListenerAdapter
- extends Object
- implements IRemoteConnectionListener
An adapter that changes the source of a connection event
- Author:
- Mitchell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkTableConnectionListenerAdapter
public NetworkTableConnectionListenerAdapter(IRemote targetSource,
IRemoteConnectionListener targetListener)
- Parameters:
targetSource
- the source where the event will appear to come fromtargetListener
- the listener where events will be forwarded
connected
public void connected(IRemote remote)
- Description copied from interface:
IRemoteConnectionListener
- Called when an IRemote is connected
- Specified by:
connected
in interface IRemoteConnectionListener
- Parameters:
remote
- the object that connected
disconnected
public void disconnected(IRemote remote)
- Description copied from interface:
IRemoteConnectionListener
- Called when an IRemote is disconnected
- Specified by:
disconnected
in interface IRemoteConnectionListener
- Parameters:
remote
- the object that disconnected
Copyright © 2013. All rights reserved.