Hybrid Bridge
|
Interface that needs to be implemented by handlers to be understandable by the holding BridgeController More...
Public Member Functions | |
object | InterceptRequest (string method, Dictionary< string, object > parameters, out bool hasResult) |
Handles the passed request and returns the result More... | |
bool | ShouldInterceptRequest (string handler, string method) |
Checks the request and returns true if this request can be handled by this handler More... | |
void | Initialize (BridgeController bridge) |
Initialize the handler and generates the needed Javascript code More... | |
Events | |
PushJavascriptEvent | PushJavascript |
Event that gets raised when handler needs to push some Javascript code More... | |
Interface that needs to be implemented by handlers to be understandable by the holding BridgeController
Definition at line 9 of file IBridgeHandler.cs.
void HybridBridge.IBridgeHandler.Initialize | ( | BridgeController | bridge | ) |
Initialize the handler and generates the needed Javascript code
bridge | The BridgeController object requesting initialization |
Implemented in HybridBridge.ClassBridge< T >, HybridBridge.EnumBridge< T >, and HybridBridge.HybridMessagingHandler.
object HybridBridge.IBridgeHandler.InterceptRequest | ( | string | method, |
Dictionary< string, object > | parameters, | ||
out bool | hasResult | ||
) |
Handles the passed request and returns the result
method | The method name to handle |
parameters | The method parameters |
hasResult | A boolean value indicting if the handling process resulted in a value |
Implemented in HybridBridge.ClassBridge< T >, HybridBridge.EnumBridge< T >, and HybridBridge.HybridMessagingHandler.
bool HybridBridge.IBridgeHandler.ShouldInterceptRequest | ( | string | handler, |
string | method | ||
) |
Checks the request and returns true if this request can be handled by this handler
handler | The name of requested handler |
method | The method name to handle |
Implemented in HybridBridge.ClassBridge< T >, HybridBridge.EnumBridge< T >, and HybridBridge.HybridMessagingHandler.
PushJavascriptEvent HybridBridge.IBridgeHandler.PushJavascript |
Event that gets raised when handler needs to push some Javascript code
Definition at line 37 of file IBridgeHandler.cs.