Packages

p

snailgun

protocol

package protocol

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Action extends AnyRef
  2. class Protocol extends AnyRef

    An implementation of the nailgun protocol in Scala.

    An implementation of the nailgun protocol in Scala.

    It follows http://www.martiansoftware.com/nailgun/protocol.html and has been slightly inspired in the C and Python clients. The implementation has been simplified more than these two and optimized for readability.

    The protocol is designed to be used by different instances of snailgun.Client implementing different communication mechanisms (e.g. TCP / Unix Domain sockets / Windows Named Pipes).

  3. final case class Streams(in: Option[InputStream], out: OutputStream, err: OutputStream, inIsATty: Int = 0, outIsATty: Int = 0, errIsATty: Int = 0) extends Product with Serializable

    An instance of user-defined streams where the protocol will forward any stdout, stdin or stderr coming from the client.

    An instance of user-defined streams where the protocol will forward any stdout, stdin or stderr coming from the client.

    Note that this is decoupled from the logger API, which is mostly used for tracing the protocol behaviour and reporting errors. The logger can be backed by some of these user-defined streams but it isn't a requirement.

Value Members

  1. object Action
  2. object ChunkTypes
  3. object Defaults

Ungrouped