protected static class BrowserChannel.ProtocolVersionMessage extends BrowserChannel.Message
Constructor and Description |
---|
ProtocolVersionMessage(BrowserChannel channel,
int protocolVersion) |
Modifier and Type | Method and Description |
---|---|
int |
getProtocolVersion() |
static BrowserChannel.ProtocolVersionMessage |
receive(BrowserChannel channel) |
void |
send() |
getBrowserChannel, isAsynchronous, readMessageType
public ProtocolVersionMessage(BrowserChannel channel, int protocolVersion)
public static BrowserChannel.ProtocolVersionMessage receive(BrowserChannel channel) throws IOException
IOException
public int getProtocolVersion()
public void send() throws IOException
send
in class BrowserChannel.Message
IOException
- if a subclass encounters an I/O errorCopyright © 2018. All rights reserved.