Class SingletonConnectionSelector<T extends Connection>

java.lang.Object
uk.ac.manchester.spinnaker.connections.SingletonConnectionSelector<T>
Type Parameters:
T - The type of the connection.
All Implemented Interfaces:
ConnectionSelector<T>

public class SingletonConnectionSelector<T extends Connection>
extends Object
implements ConnectionSelector<T>
A selector that only ever handles a single connection.
  • Constructor Details

    • SingletonConnectionSelector

      public SingletonConnectionSelector​(T connection)
      Create a selector.
      Parameters:
      connection - The connection in the selector.
  • Method Details