Class PersistentSocketConnection

java.lang.Object
org.dellroad.stuff.net.PersistentConnection<Socket>
org.dellroad.stuff.net.PersistentSocketConnection

public abstract class PersistentSocketConnection extends PersistentConnection<Socket>
Maintains a persistent Socket connection to a remote server, automatically reconnecting when the connection fails.

Subclasses need only override handleConnection().

  • Constructor Details

    • PersistentSocketConnection

      public PersistentSocketConnection()
  • Method Details