P2PTlsTcpConnector

lofi_acl.transport.P2PTlsTcpConnector
class P2PTlsTcpConnector(identity: PrivateIdentity, _listenPort: Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def acceptConnection(using ec: ExecutionContext): Future[(SSLSocket, PublicIdentity)]
def closeServerSocket(): Try[Unit]
def connect(host: String, port: Int)(using ec: ExecutionContext): Future[(SSLSocket, PublicIdentity)]
def listenPort: Int