= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
package obus
-
obus
-
obus.hal
-
obus.network_manager
-
obus.notification
-
obus.ppx
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Message contexts
Types
A context contains information about the reception of a message.
Creation
val make : connection:OBus_connection.t -> message:OBus_message.t -> t
Creates a context from the given connection and message
Retreival
val get : unit -> t
In a method call handler, this returns the context of the method call.
Projections
val connection : t -> OBus_connection.t
Returns the connection part of a context
val sender : t -> OBus_peer.t
sender context
returns the peer who sends the message
val destination : t -> OBus_peer.t
destinatino context
returns the peer to which the message was sent
val flags : t -> OBus_message.flags
flags context
returns the flags of the message that was received
val serial : t -> OBus_message.serial
Returns the serial of the message
ON THIS PAGE