final case class Publish(requestId: Id, options: Dict = Publish.defaultOptions, topic: Uri, payload: Payload = Payload())(implicit validator: Validator) extends ProtocolMessage with DataConveyor with Product with Serializable
Sent by a publisher to a broker to publish an event.
[PUBLISH, Request|id, Options|dict, Topic|uri]
[PUBLISH, Request|id, Options|dict, Topic|uri, Arguments|list]
[PUBLISH, Request|id, Options|dict, Topic|uri, Arguments|list, ArgumentsKw|dict]
- requestId
is a random, ephemeral identifier chosen by the Publisher and used to correlate the Broker's response with the request.
- options
is a dictionary that allows to provide additional publication request details in an extensible way.
- topic
is the topic published to.
- payload
is the payload bearing application data
- Alphabetic
- By Inheritance
- Publish
- Serializable
- Serializable
- Product
- Equals
- DataConveyor
- ProtocolMessage
- Message
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Publish(requestId: Id, options: Dict = Publish.defaultOptions, topic: Uri, payload: Payload = Payload())(implicit validator: Validator)
- requestId
is a random, ephemeral identifier chosen by the Publisher and used to correlate the Broker's response with the request.
- options
is a dictionary that allows to provide additional publication request details in an extensible way.
- topic
is the topic published to.
- payload
is the payload bearing application data
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
-
def
args: Future[List[Any]]
Is the conveyed data as list of indexed arguments
Is the conveyed data as list of indexed arguments
- returns
the (future of) indexed args
- Definition Classes
- DataConveyor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
kwargs[T](implicit ctag: ClassTag[T]): Future[T]
Is the conveyed data as instance of the given user tpye
Is the conveyed data as instance of the given user tpye
- T
is the user type
- returns
the (future of) named args
- Definition Classes
- DataConveyor
-
def
kwargs: Future[Map[String, Any]]
Is the conveyed data as dictionary of named arguments
Is the conveyed data as dictionary of named arguments
- returns
the (future of) named args
- Definition Classes
- DataConveyor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val options: Dict
-
val
payload: Payload
- Definition Classes
- Publish → DataConveyor
- val requestId: Id
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val topic: Uri
-
val
tpe: Int
- Definition Classes
- Publish → ProtocolMessage
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )