
protected static class BrowserChannel.InvokeOnClientMessage extends BrowserChannel.Message
BrowserChannel.InvokeOnServerMessage depending on the direction, as the
protocol is asymmetric (Java needs a dispatch ID, Javascript needs a
name).| Constructor and Description |
|---|
InvokeOnClientMessage(BrowserChannel channel,
String methodName,
BrowserChannel.Value thisRef,
BrowserChannel.Value[] args) |
| Modifier and Type | Method and Description |
|---|---|
BrowserChannel.Value[] |
getArgs() |
String |
getMethodName() |
BrowserChannel.Value |
getThis() |
static BrowserChannel.InvokeOnClientMessage |
receive(BrowserChannel channel) |
void |
send() |
getBrowserChannel, isAsynchronous, readMessageTypepublic InvokeOnClientMessage(BrowserChannel channel, String methodName, BrowserChannel.Value thisRef, BrowserChannel.Value[] args)
public static BrowserChannel.InvokeOnClientMessage receive(BrowserChannel channel) throws IOException
IOExceptionpublic BrowserChannel.Value[] getArgs()
public String getMethodName()
public BrowserChannel.Value getThis()
public void send()
throws IOException
send in class BrowserChannel.MessageIOException - if a subclass encounters an I/O errorCopyright © 2018. All rights reserved.