code: public void setDirectConnection(RespokeDirectConnection newDirectConnection) {
          if (null != newDirectConnection) {
              directConnectionReference = new WeakReference<RespokeDirectConnection>(newDirectConnection);
          } else {
              directConnectionReference = null;
          }
      }
docs: Associate a direct connection object with this endpoint. This method is used internally by the SDK should not be called by your client application.
  
  @param newDirectConnection  The direct connection to associate