Packages

object Socks5Connection extends BitcoinSLogger

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Socks5Connection
  2. BitcoinSLogger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Socks5Connect(address: InetSocketAddress) extends Command with Product with Serializable
  2. case class Socks5Connected(address: InetSocketAddress) extends Event with Product with Serializable
  3. case class Socks5Error(message: String) extends RuntimeException with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val NoAuth: Byte
  5. val PasswordAuth: Byte
  6. def addressToByteString(address: InetSocketAddress): ByteString
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def inetAddressToByteString(inet: InetAddress): ByteString
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def logger: Logger
    Definition Classes
    BitcoinSLogger
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def parseAuth(data: ByteString): Boolean
  21. def parseGreetings(data: ByteString, passwordAuth: Boolean): Byte
  22. def portToByteString(port: Int): ByteString
  23. def props(tcpConnection: ActorRef, credentials_opt: Option[Credentials], command: Socks5Connect): Props
  24. def socks5ConnectionRequest(address: InetSocketAddress): ByteString
  25. def socks5Greeting(passwordAuth: Boolean): ByteString
  26. def socks5Handler[MatSource, MatSink](socket: InetSocketAddress, source: Source[ByteString, (Future[OutgoingConnection], MatSource)], sink: Sink[Either[ByteString, Socks5ConnectionState], MatSink], mergeHubSink: Sink[ByteString, NotUsed], credentialsOpt: Option[Credentials])(implicit mat: Materializer): Future[((OutgoingConnection, MatSource), MatSink)]

    MatSource

    the materialized value of the source given to us

    MatSink

    the materialized value of the sink given to us

    socket

    the peer we are connecting to

    source

    the source that produces ByteStrings we need to send to our peer

    sink

    the sink that receives messages from our peer and performs application specific logic

    mergeHubSink

    a way for socks5Handler to send messages to the socks5 proxy to complete the handshake

    credentialsOpt

    the credentials to authenticate the socks5 proxy.

    returns

    a running tcp connection along with the results of the materialize source and sink

  27. def socks5PasswordAuthenticationRequest(username: String, password: String): ByteString
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def tryParseAuth(data: ByteString): Try[Boolean]
  31. def tryParseConnectedAddress(data: ByteString): Try[InetSocketAddress]
  32. def tryParseGreetings(data: ByteString, passwordAuth: Boolean): Try[Byte]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped