abstract class BaseOutgoingMessageBuilder<T : Message> : OutgoingMessageBuilder<T>
Base class for MessageBuilder providing common implementation
BaseOutgoingMessageBuilder()
Base class for MessageBuilder providing common implementation |
open fun body(data: Data): OutgoingMessageBuilder<T> open fun body(stream: InputStream): OutgoingMessageBuilder<T>
Body of the coap message |
|
open fun option(option: Option): OutgoingMessageBuilder<T>
Add an option to coap message |
|
open fun progressObserver(progressObserver: Observer<Int>): OutgoingMessageBuilder<T>
Progress Observer of the coap message |
abstract fun build(): T
Build Coap Message |
class OutgoingRequestBuilder : BaseOutgoingMessageBuilder<OutgoingRequest>
Concrete class of MessageBuilder for building OutgoingRequest |
|
class OutgoingResponseBuilder : BaseOutgoingMessageBuilder<OutgoingResponse>
Concrete class of MessageBuilder for building OutgoingResponse |