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