Class UnauthenticatedChatConnection

  • All Implemented Interfaces:
    org.signal.libsignal.internal.NativeHandleGuard.Owner

    
    public class UnauthenticatedChatConnection
    extends ChatConnection
                        

    Represents an unauthenticated (i.e. hopefully anonymous) communication channel with the Chat service.

    Created by the factory method connectUnauthChat rather than instantiated directly.

    Note that a newly-created instance of this class won't be usable for sending messages or receiving events until start is called.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      KeyTransparencyClient keyTransparencyClient() High-level key transparency subsystem client on top using this to communicate with the chat server.
      static Pair<UnauthenticatedChatConnection, FakeChatRemote> fakeConnect(TokioAsyncContext tokioAsyncContext, ChatConnectionListener listener, Network.Environment ktEnvironment) Test-only method to create a UnauthenticatedChatConnection connected to a fake remote.
      • Methods inherited from class org.signal.libsignal.net.ChatConnection

        disconnect, send, start
      • 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