Class Anjay.SocketEntry

  • Enclosing class:
    Anjay

    public static final class Anjay.SocketEntry
    extends java.lang.Object
    Details about established connection to the LwM2M Server.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.nio.channels.SelectableChannel channel
      Channel used to communicate with server.
      int port
      Used port.
      boolean queueMode
      Indicates if Queue Mode is enabled.
      int ssid
      SSID of the server.
      Anjay.Transport transport
      Used transport.
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketEntry​(java.nio.channels.SelectableChannel channel, Anjay.Transport transport, int ssid, boolean queueMode, int port)
      Constructor for SocketEntry - it is not intended to be called by user.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • channel

        public final java.nio.channels.SelectableChannel channel
        Channel used to communicate with server.
      • ssid

        public final int ssid
        SSID of the server.
      • queueMode

        public final boolean queueMode
        Indicates if Queue Mode is enabled.
      • port

        public final int port
        Used port.
    • Constructor Detail

      • SocketEntry

        public SocketEntry​(java.nio.channels.SelectableChannel channel,
                           Anjay.Transport transport,
                           int ssid,
                           boolean queueMode,
                           int port)
        Constructor for SocketEntry - it is not intended to be called by user.