Class PlatformMessenger.fakeContext
java.lang.Object
com.biglybt.core.messenger.ClientMessageContextImpl
com.biglybt.core.messenger.PlatformMessenger.fakeContext
- All Implemented Interfaces:
ClientMessageContext
- Enclosing class:
PlatformMessenger
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientMessageContext
ClientMessageContext.torrentURLHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddisplayBrowserMessage(String message) booleanexecuteInBrowser(String javascript) getBrowserData(String key) private voidbooleansendBrowserMessage(String key, String op) Sends a message to the JavaScript message dispatcher in the page.booleansendBrowserMessage(String key, String op, Collection params) booleansendBrowserMessage(String key, String op, Map params) Sends a message to the JavaScript message dispatcher in the page.voidsetBrowserData(String key, Object value) voidMethods inherited from class ClientMessageContextImpl
addMessageListener, debug, debug, getDispatcher, getID, removeMessageListener, removeMessageListener, setMessageDispatcher
-
Constructor Details
-
fakeContext
public fakeContext()
-
-
Method Details
-
log
-
deregisterBrowser
public void deregisterBrowser() -
displayBrowserMessage
-
executeInBrowser
-
getBrowserData
-
sendBrowserMessage
Description copied from interface:ClientMessageContextSends a message to the JavaScript message dispatcher in the page.- Parameters:
key- identifies the listener to receive the messageop- identifies the operation to perform
-
sendBrowserMessage
Description copied from interface:ClientMessageContextSends a message to the JavaScript message dispatcher in the page.- Parameters:
key- identifies the listener to receive the messageop- identifies the operation to performparams- optional message parameters
-
setBrowserData
-
sendBrowserMessage
- Parameters:
key-op-params-- Returns:
-
setTorrentURLHandler
-