Package edu.wpi.grip.core
Class Connection<T>
- java.lang.Object
-
- edu.wpi.grip.core.Connection<T>
-
public class Connection<T> extends java.lang.ObjectA connection is a rule that causes one socket to update to always the value of another socket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnection.Factory<T>
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSocket<T>getInputSocket()OutputSocket<? extends T>getOutputSocket()voidonConnectionAdded(ConnectionAddedEvent event)voidonConnectionRemoved(ConnectionRemovedEvent e)voidonOutputChanged(SocketChangedEvent e)voidremove()Removes this connection from the pipeline.voidremoveConnection(SourceRemovedEvent e)voidremoveConnection(StepRemovedEvent e)java.lang.StringtoString()
-
-
-
Method Detail
-
getOutputSocket
public OutputSocket<? extends T> getOutputSocket()
-
getInputSocket
public InputSocket<T> getInputSocket()
-
onConnectionAdded
public void onConnectionAdded(ConnectionAddedEvent event)
-
onOutputChanged
public void onOutputChanged(SocketChangedEvent e)
-
onConnectionRemoved
public void onConnectionRemoved(ConnectionRemovedEvent e)
-
removeConnection
public void removeConnection(StepRemovedEvent e)
-
removeConnection
public void removeConnection(SourceRemovedEvent e)
-
remove
public void remove()
Removes this connection from the pipeline.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-