object Socks5Connection extends BitcoinSLogger
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Socks5Connection
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Socks5Connect(address: InetSocketAddress) extends Command with Product with Serializable
- case class Socks5Connected(address: InetSocketAddress) extends Event with Product with Serializable
- case class Socks5Error(message: String) extends RuntimeException with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val NoAuth: Byte
- val PasswordAuth: Byte
- def addressToByteString(address: InetSocketAddress): ByteString
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inetAddressToByteString(inet: InetAddress): ByteString
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseAuth(data: ByteString): Boolean
- def parseGreetings(data: ByteString, passwordAuth: Boolean): Byte
- def portToByteString(port: Int): ByteString
- def props(tcpConnection: ActorRef, credentials_opt: Option[Credentials], command: Socks5Connect): Props
- def socks5ConnectionRequest(address: InetSocketAddress): ByteString
- def socks5Greeting(passwordAuth: Boolean): ByteString
- 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
- def socks5PasswordAuthenticationRequest(username: String, password: String): ByteString
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryParseAuth(data: ByteString): Try[Boolean]
- def tryParseConnectedAddress(data: ByteString): Try[InetSocketAddress]
- def tryParseGreetings(data: ByteString, passwordAuth: Boolean): Try[Byte]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()