Class TlcpConnection


  • public class TlcpConnection
    extends Object
    Represents a TLCP (Tapkey Lock Control Protocol) connection to a lock. A TLCP connection can be either established via Bluetooth (BLE) or NFC. Instances of this class can be retrieved from the BLE lock communicator. The command execution facade uses TlcpConnection and executes commands on the lock represented by the respective TlcpConnection.
    See Also:
    BleLockCommunicator, CommandExecutionFacade
    • Method Detail

      • processHelloMessage

        public void processHelloMessage​(byte[] helloMessage)
                                 throws net.tpky.mc.tlcp.ProtocolException
        Reserved for internal use.
        Throws:
        net.tpky.mc.tlcp.ProtocolException
      • closeAsync

        public Promise<Void> closeAsync()
        Reserved for internal use.
      • transceiveAsync

        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)
        Reserved for internal use.
      • getSession

        public net.tpky.mc.tlcp.manager.Session getSession()
        Reserved for internal use.
      • getTlcpMessageConnection

        public net.tpky.mc.nfc.AsyncDataConnection getTlcpMessageConnection()
        Reserved for internal use.
      • getMaxSize

        public int getMaxSize()
        Reserved for internal use.
      • getTransportChannel

        public net.tpky.mc.tlcp.model.TransportChannel getTransportChannel()
        Reserved for internal use.