BloomRpcBinding<TInput, TOutput> class
Associates a BloomRpcContract with its server-side BloomRpcHandler implementation.
Constructors
-
BloomRpcBinding(BloomRpcContract<
TInput, TOutput> contract, BloomRpcHandler<TInput, TOutput> handler) -
Creates a binding between
contractandhandler.const
Properties
-
contract
→ BloomRpcContract<
TInput, TOutput> -
The contract specification defining method, path, and codecs.
final
-
handler
→ BloomRpcHandler<
TInput, TOutput> -
The server handler callback executing the business logic.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
BloomRpcServerContext context, dynamic rawInput) → Future< BloomRpcServerResponse> -
Executes this binding against
contextwith raw inputrawInput. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited