public class TlcpConnection extends Object
BleLockCommunicator
,
CommandExecutionFacade
Constructor and Description |
---|
TlcpConnection(net.tpky.mc.time.ServerClock serverClock,
net.tpky.mc.tlcp.TlcpMessageConnection tapkeyMessageConnection,
net.tpky.mc.tlcp.model.TransportChannel transportChannel)
Do not use.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void> |
closeAsync()
Reserved for internal use.
|
Promise<Void> |
connectAsync(CancellationToken cancellationToken)
Reserved for internal use.
|
int |
getMaxSize()
Reserved for internal use.
|
net.tpky.mc.tlcp.manager.Session |
getSession()
Reserved for internal use.
|
net.tpky.mc.nfc.AsyncDataConnection |
getTlcpMessageConnection()
Reserved for internal use.
|
net.tpky.mc.tlcp.model.TransportChannel |
getTransportChannel()
Reserved for internal use.
|
void |
processHelloMessage(byte[] helloMessage)
Reserved for internal use.
|
Promise<List<net.tpky.mc.tlcp.model.Entity>> |
transceiveAsync(List<net.tpky.mc.tlcp.model.TapkeyRecord> requestRecords,
net.tpky.mc.tlcp.CertificateStore certificateStore,
CancellationToken cancellationToken)
Reserved for internal use.
|
public TlcpConnection(net.tpky.mc.time.ServerClock serverClock, net.tpky.mc.tlcp.TlcpMessageConnection tapkeyMessageConnection, net.tpky.mc.tlcp.model.TransportChannel transportChannel)
BleLockCommunicator.executeCommandAsync(String,
String, Func1, CancellationToken)
to retrieve an instance of this class.public void processHelloMessage(byte[] helloMessage) throws net.tpky.mc.tlcp.ProtocolException
net.tpky.mc.tlcp.ProtocolException
public Promise<Void> connectAsync(CancellationToken cancellationToken)
public Promise<List<net.tpky.mc.tlcp.model.Entity>> transceiveAsync(List<net.tpky.mc.tlcp.model.TapkeyRecord> requestRecords, net.tpky.mc.tlcp.CertificateStore certificateStore, CancellationToken cancellationToken)
public net.tpky.mc.tlcp.manager.Session getSession()
public net.tpky.mc.nfc.AsyncDataConnection getTlcpMessageConnection()
public int getMaxSize()
public net.tpky.mc.tlcp.model.TransportChannel getTransportChannel()