protected static class BrowserChannel.ReturnMessage extends BrowserChannel.Message
Constructor and Description |
---|
BrowserChannel.ReturnMessage(BrowserChannel channel,
boolean isException,
BrowserChannel.Value returnValue) |
Modifier and Type | Method and Description |
---|---|
BrowserChannel.Value |
getReturnValue() |
boolean |
isException() |
static BrowserChannel.ReturnMessage |
receive(BrowserChannel channel) |
void |
send() |
static void |
send(BrowserChannel channel,
boolean isException,
BrowserChannel.Value returnValue) |
static void |
send(BrowserChannel channel,
BrowserChannel.SessionHandler.ExceptionOrReturnValue returnOrException) |
getBrowserChannel, isAsynchronous, readMessageType
public BrowserChannel.ReturnMessage(BrowserChannel channel, boolean isException, BrowserChannel.Value returnValue)
public static BrowserChannel.ReturnMessage receive(BrowserChannel channel) throws IOException
IOException
public static void send(BrowserChannel channel, boolean isException, BrowserChannel.Value returnValue) throws IOException
IOException
public static void send(BrowserChannel channel, BrowserChannel.SessionHandler.ExceptionOrReturnValue returnOrException) throws IOException
IOException
public BrowserChannel.Value getReturnValue()
public boolean isException()
public void send() throws IOException
send
in class BrowserChannel.Message
IOException
- if a subclass encounters an I/O errorCopyright © 2016. All rights reserved.