Receives LocalSend transfers over mutual TLS.
It owns the TLS socket so the presented certificate can be checked against
the sender's announcement.
Constants
Log = LocalSend::Log.for("receiver")
Constructors
new(identity :
Identity, port :
Int32 =
DEFAULT_PORT, pin :
String |
Nil = nil, buffer_size :
Int32 = 8, &on_register :
Protocol::DeviceInfo,
String -> )
Sourcenew(identity :
Identity, port :
Int32 =
DEFAULT_PORT, pin :
String |
Nil = nil, buffer_size :
Int32 = 8)
SourceInstance methods
incoming
Transfers waiting for the application to accept or reject them.
Sourcepin_status(request) :
Int32 |
Nil A configured PIN locks after three failed attempts.
SourceFile names come from the peer.
SourceDo not overwrite an existing file.
Source