public class BrowserChannelClient extends BrowserChannel
Modifier and Type | Class and Description |
---|---|
static class |
BrowserChannelClient.SessionHandlerClient
Hook interface for responding to messages from the server.
|
BrowserChannel.CheckVersionsMessage, BrowserChannel.ChooseTransportMessage, BrowserChannel.FatalErrorMessage, BrowserChannel.FreeMessage, BrowserChannel.InvokeOnClientMessage, BrowserChannel.InvokeOnServerMessage, BrowserChannel.InvokeSpecialMessage, BrowserChannel.JavaObjectRef, BrowserChannel.JsObjectRef, BrowserChannel.LoadJsniMessage, BrowserChannel.LoadModuleMessage, BrowserChannel.Message, BrowserChannel.MessageType, BrowserChannel.ObjectRefFactory, BrowserChannel.OldLoadModuleMessage, BrowserChannel.ProtocolVersionMessage, BrowserChannel.QuitMessage, BrowserChannel.RemoteDeathError, BrowserChannel.RemoteObjectRef, BrowserChannel.RequestIconMessage, BrowserChannel.ReturnMessage, BrowserChannel.SessionHandler<T extends BrowserChannel>, BrowserChannel.SwitchTransportMessage, BrowserChannel.UserAgentIconMessage, BrowserChannel.Value
PROTOCOL_VERSION_CURRENT, PROTOCOL_VERSION_GET_ICON, PROTOCOL_VERSION_OLDEST, SPECIAL_CLIENTMETHODS_OBJECT, SPECIAL_SERVERMETHODS_OBJECT
Constructor and Description |
---|
BrowserChannelClient(String[] addressParts,
String url,
String sessionKey,
String moduleName,
String versionString,
BrowserChannelClient.SessionHandlerClient sessionHandlerClient) |
Modifier and Type | Method and Description |
---|---|
boolean |
disconnectFromHost() |
int |
getProtocolVersion() |
boolean |
isConnected() |
boolean |
process()
returns true iff execution completes normally.
|
BrowserChannel.ReturnMessage |
reactToMessagesWhileWaitingForReturn(BrowserChannelClient.SessionHandlerClient handler) |
endSession, getJavaObjectRef, getRefIdsForCleanup, getRemoteEndpoint, getStreamFromOtherSide, getStreamToOtherSide, readUtf8String, readValue, readValueType, sendFreedValues, writeJavaObject, writeJsObject, writeNull, writeTaggedBoolean, writeTaggedByte, writeTaggedChar, writeTaggedDouble, writeTaggedInt, writeTaggedShort, writeTaggedString, writeUtf8String, writeValue
public BrowserChannelClient(String[] addressParts, String url, String sessionKey, String moduleName, String versionString, BrowserChannelClient.SessionHandlerClient sessionHandlerClient) throws IOException
IOException
public boolean disconnectFromHost() throws IOException
IOException
public int getProtocolVersion()
init()
has returned.public boolean isConnected()
public boolean process() throws IOException, BrowserChannelException
IOException
BrowserChannelException
public BrowserChannel.ReturnMessage reactToMessagesWhileWaitingForReturn(BrowserChannelClient.SessionHandlerClient handler) throws IOException, BrowserChannelException
IOException
BrowserChannelException
Copyright © 2018. All rights reserved.