Package ipfs.gomobile.android.bledriver

## Class Peer

- java.lang.Object
- - ipfs.gomobile.android.bledriver.Peer

-     public class Peer
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Peer​(Logger logger, java.lang.String peerID)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addClientDevice​(PeerDevice peerDevice)` |
    `void` | `addServerDevice​(PeerDevice peerDevice)` |
    `PeerDevice` | `getDevice()` |
    `PeerDevice` | `getPeerClientDevice()` |
    `java.lang.String` | `getPeerID()` |
    `PeerDevice` | `getPeerServerDevice()` |
    `boolean` | `isClientReady()` |
    `boolean` | `isHandshakeSuccessful()` |
    `boolean` | `isServerReady()` |
    `void` | `removeDevices()` |

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Peer

          public Peer​(Logger logger,
                      java.lang.String peerID)

  - ### Method Detail

    - #### getPeerID

          public java.lang.String getPeerID()

    - #### addClientDevice

          public void addClientDevice​(PeerDevice peerDevice)

    - #### addServerDevice

          public void addServerDevice​(PeerDevice peerDevice)

    - #### removeDevices

          public void removeDevices()

    - #### getPeerClientDevice

          public PeerDevice getPeerClientDevice()

    - #### getPeerServerDevice

          public PeerDevice getPeerServerDevice()

    - #### getDevice

          public PeerDevice getDevice()

    - #### isClientReady

          public boolean isClientReady()

    - #### isServerReady

          public boolean isServerReady()

    - #### isHandshakeSuccessful

          public boolean isHandshakeSuccessful()