Class SignalProtocolAddress

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      ServiceId getServiceId() Returns a ServiceId if this address contains a valid ServiceId, null otherwise.
      int getDeviceId()
      String toString()
      boolean equals(Object other)
      int hashCode()
      • Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.SimpleOwner

        unsafeNativeHandleWithoutGuard
      • Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.Owner

        guard, guardedMap, guardedMapChecked, guardedRun, guardedRunChecked
      • Methods inherited from class java.lang.Object

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

      • SignalProtocolAddress

        SignalProtocolAddress(String name, int deviceId)
        Parameters:
        name - the identifier for the recipient, usually a ServiceId
        deviceId - the identifier for the device; must be in the range 1-127 inclusive
      • SignalProtocolAddress

        SignalProtocolAddress(ServiceId serviceId, int deviceId)
        Parameters:
        serviceId - the identifier for the recipient
        deviceId - the identifier for the device; must be in the range 1-127 inclusive
      • SignalProtocolAddress

        SignalProtocolAddress(long nativeHandle)