msgpack.rpc vocabulary
Factor handbook ยป Vocabulary index


Summary
Implementation of MessagePack-RPC

Metadata
Parents:msgpack


Words

Tuple classes
ClassSuperclassSlots
connection tuplestream session thread output-lock name
id-present tupleid
invalid-packet tuplepacket
notification tuplemethod params
request tuplemsgid method params
response tuplemsgid error result
session tupleactive? incoming-requests outgoing-requests notification-callback request-callback
unknown-response tupleresponse


Generic words
WordStack effect
feed-packet( session packet -- )
stop( session -- )


Ordinary words
WordStack effect
<connection>( stream -- connection )
<notification>( method params -- notification )
<request>( msgid method params -- request )
<response-error>( id error -- response )
<response-ok>( id result -- response )
<session>( -- session )
feed-response( session response -- )
id-present( id -- * )
invalid-packet( packet -- * )
send-notification( notification connection -- )
send-request( ... request quot: ( ... response -- ... ) connection -- ... )
send-request-await( request connection -- response )
send-response( response connection -- )
start( connection -- )
unknown-response( response -- * )


Class predicate words
WordStack effect
connection?( object -- ? )
id-present?( object -- ? )
invalid-packet?( object -- ? )
notification?( object -- ? )
request?( object -- ? )
response?( object -- ? )
session?( object -- ? )
unknown-response?( object -- ? )


Files


Metadata files