Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

151 lines (66 sloc) 3.622 kB

Abstract module ubf_plugin_meta_stateless [MODULES]

Implement the UBF(c) meta-protocol for UBF(b) "stateless" contracts.

The metaprotocol is used at the beginning of a UBF session to
select one of the UBF(b) contracts that the TCP listener is
capable of offering.  The list of contracts (or more precisely,
the Erlang modules that implement the contract(s)) is passed via
the +ubf_server:start_link()+ function, in the +PluginModule+
list.
Code in this module is executed by the "Plugin Handler" process in
the Process Structure Diagram in the Overview.
For the purposes of this module, the list of modules that
implement contracts is passed using Erlang parameterized module
+Module:new(ModuleList)+ syntax.  See the Erlang/OTP documentation
for more information on parameterized module syntax and usage.

.

Function Index

description/0

Emit a description string.

.
handlerRpc/1

Required UBF contract implementation callback: call an RPC function.

.
handlerStart/1

Required UBF contract implementation callback: start a new session handler process.

.
handlerStop/3

Required UBF contract implementation callback: stop a session handler process.

.
info/0

Emit an info string.

.
managerRestart/2

Required UBF contract implementation callback: restart a manager process.

.
managerRpc/2

Required UBF contract implementation callback: call a manager's RPC function.

.
managerStart/1

Required UBF contract implementation callback: start manager process(es).

.

Function Details

description/0

description() -> any()

Emit a description string.

handlerRpc/1

handlerRpc(X1) -> any()

Required UBF contract implementation callback: call an RPC function.

handlerStart/1

handlerStart(X1) -> any()

Required UBF contract implementation callback: start a new session handler process.

handlerStop/3

handlerStop(Pid, Reason, State) -> any()

Required UBF contract implementation callback: stop a session handler process.

info/0

info() -> any()

Emit an info string.

managerRestart/2

managerRestart(Args, Manager) -> any()

Required UBF contract implementation callback: restart a manager process.

managerRpc/2

managerRpc(X1, S) -> any()

Required UBF contract implementation callback: call a manager's RPC function.

managerStart/1

managerStart(Args) -> any()

Required UBF contract implementation callback: start manager process(es).

Jump to Line
Something went wrong with that request. Please try again.