object NetworkMessage extends Factory[NetworkMessage]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetworkMessage
  2. Factory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(network: NetworkParameters, payload: NetworkPayload): NetworkMessage

    Creates a NetworkMessage out of it's NetworkPayload

    Creates a NetworkMessage out of it's NetworkPayload

    network

    the NetworkParameters indicating the network which the message is going to be sent on

    payload

    the payload that needs to be sent across the network

  5. def apply(header: NetworkHeader, payload: NetworkPayload): NetworkMessage

    Creates a network message from it's NetworkHeader and NetworkPayload

    Creates a network message from it's NetworkHeader and NetworkPayload

    header

    the NetworkHeader which is being sent across the network

    payload

    the NetworkPayload which contains the information being sent across the network

  6. def apply(hex: String): NetworkMessage

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  7. def apply(bytes: ByteVector): NetworkMessage

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def fromBytes(bytes: ByteVector): NetworkMessage

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    NetworkMessageFactory
  13. def fromHex(hex: String): NetworkMessage

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val logger: Logger
    Definition Classes
    Factory
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. implicit def self: Factory[NetworkMessage]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Factory[NetworkMessage]

Inherited from AnyRef

Inherited from Any

Ungrouped