public interface Channelizer
ChannelPipeline
used by the client to connect and send message to Gremlin Server.Modifier and Type | Interface and Description |
---|---|
static class |
Channelizer.AbstractChannelizer
Base implementation of the client side
Channelizer . |
static class |
Channelizer.NioChannelizer
Deprecated.
As of release 3.3.10, not replaced, use
WebSocketClient . |
static class |
Channelizer.WebSocketChannelizer
WebSocket
Channelizer implementation. |
Modifier and Type | Method and Description |
---|---|
void |
close(Channel channel)
Called on
Connection.closeAsync() to perform an Channelizer specific functions. |
default void |
connected()
Called after the channel connects.
|
default Object |
createKeepAliveMessage()
Deprecated.
As of release 3.4.9, not directly replaced. Any keep-alive functionality should be implemented as
a function of the configured channel and not as a component of the
Channelizer itself. |
void |
init(org.apache.tinkerpop.gremlin.driver.Connection connection)
Initializes the
Channelizer . |
default boolean |
supportsKeepAlive()
Deprecated.
As of release 3.4.9, not directly replaced. Any keep-alive functionality should be implemented as
a function of the configured channel and not as a component of the
Channelizer itself. |
void init(org.apache.tinkerpop.gremlin.driver.Connection connection)
Channelizer
. Called just after construction.void close(Channel channel)
Connection.closeAsync()
to perform an Channelizer
specific functions. Note that the
Connection
already calls Channel.close()
so there is no need to call that method here.
An implementation will typically use this method to send a Channelizer
specific message to the
server to notify of shutdown coming from the client side (e.g. a "close" websocket frame).@Deprecated default Object createKeepAliveMessage()
Channelizer
itself.supportsKeepAlive()
is true
.@Deprecated default boolean supportsKeepAlive()
Channelizer
itself.default void connected()
Channelizer
may need to perform some functions, such as a
handshake.Copyright © 2013–2020 Apache Software Foundation. All rights reserved.