com.samsung.multiscreen

## Class Client

- java.lang.Object
- - com.samsung.multiscreen.Client

-     public class Client
      extends Object

  Encapsulates a client subscribed to the the specified `Channel`.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `Map<String,String>` | `getAttributes()` Returns a map of attributes associated with this client.
    `Channel` | `getChannel()` Returns the channel associated with this client.
    `long` | `getConnectTime()` Returns the time in milliseconds since epoch that this client connected to the channel.
    `String` | `getId()` Returns the unique id for this client.
    `int` | `hashCode()`
    `boolean` | `isHost()` Returns whether this client is the host.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getChannel

          public Channel getChannel()

      Returns the channel associated with this client.

    - #### getId

          public String getId()

      Returns the unique id for this client.

    - #### isHost

          public boolean isHost()

      Returns whether this client is the host.

    - #### getConnectTime

          public long getConnectTime()

      Returns the time in milliseconds since epoch that this client connected to the channel.

    - #### getAttributes

          public Map<String,String> getAttributes()

      Returns a map of attributes associated with this client.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`