| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wpi.first.wpilibj.networktables2.WriteManager
public class WriteManager
A write manager is a IncomingEntryReceiver that buffers transactions and then and then dispatches them to a flushable transaction receiver that is periodically offered all queued transaction and then flushed
| Field Summary | 
|---|
| Fields inherited from interface edu.wpi.first.wpilibj.networktables2.OutgoingEntryReceiver | 
|---|
| NULL | 
| Constructor Summary | |
|---|---|
| WriteManager(FlushableOutgoingEntryReceiver receiver,
             NTThreadManager threadManager,
             AbstractNetworkTableEntryStore entryStore,
             long keepAliveDelay)Create a new Write manager | |
| Method Summary | |
|---|---|
|  void | offerOutgoingAssignment(NetworkTableEntry entry) | 
|  void | offerOutgoingUpdate(NetworkTableEntry entry) | 
|  void | run()the periodic method that sends all buffered transactions | 
|  void | start()start the write thread | 
|  void | stop()stop the write thread | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WriteManager(FlushableOutgoingEntryReceiver receiver,
                    NTThreadManager threadManager,
                    AbstractNetworkTableEntryStore entryStore,
                    long keepAliveDelay)
receiver - threadManager - transactionPool - entryStore - | Method Detail | 
|---|
public void start()
public void stop()
public void offerOutgoingAssignment(NetworkTableEntry entry)
offerOutgoingAssignment in interface OutgoingEntryReceiverpublic void offerOutgoingUpdate(NetworkTableEntry entry)
offerOutgoingUpdate in interface OutgoingEntryReceiver
public void run()
         throws InterruptedException
run in interface PeriodicRunnableInterruptedException - thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through)| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||