Connection

com.github.lavrov.bittorrent.wire.Connection$
See theConnection companion trait
object Connection

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class ConnectionClosed() extends Throwable

Attributes

Graph
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
enum Error(message: String) extends Exception

Attributes

Graph
Supertypes
trait Enum
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait RequestRegistry[F[_]]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
case class State(lastMessageAt: Long, interested: Boolean)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object State

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
State.type

Value members

Concrete methods

def connect[F[_]](selfId: PeerId, peerInfo: PeerInfo, infoHash: InfoHash)(using F: Async[F], socketGroup: SocketGroup[F], logger: Logger[F]): Resource[F, Connection[F]]