Uses of Class
org.apache.hugegraph.computer.core.network.ConnectionId
-
-
Uses of ConnectionId in org.apache.hugegraph.computer.core.network
Methods in org.apache.hugegraph.computer.core.network that return ConnectionId Modifier and Type Method Description ConnectionIdTransportClient. connectionId()Get theConnectionIdstatic ConnectionIdConnectionId. parseConnectionId(java.lang.String host, int port)static ConnectionIdConnectionId. parseConnectionId(java.lang.String host, int port, int clientIndex)static ConnectionIdTransportUtil. remoteConnectionId(io.netty.channel.Channel channel)Methods in org.apache.hugegraph.computer.core.network with parameters of type ConnectionId Modifier and Type Method Description TransportClientClientFactory. createClient(ConnectionId connectionId, ClientHandler handler)Create a TransportClient.voidTransportHandler. exceptionCaught(TransportException cause, ConnectionId connectionId)Invoked when the channel associated with the given connectionId has an exception is thrown processing message.voidTransportHandler. onChannelActive(ConnectionId connectionId)Invoked when the channel associated with the given connectionId is active.voidTransportHandler. onChannelInactive(ConnectionId connectionId)Invoked when the channel associated with the given connectionId is inactive.voidMessageHandler. onFinished(ConnectionId connectionId)Notify finish-session completed on server-side.voidMessageHandler. onStarted(ConnectionId connectionId)Notify start-session completed on server-side.voidClientHandler. sendAvailable(ConnectionId connectionId)Invoked when the channel associated with the given connectionId channel is able to send data immediately. -
Uses of ConnectionId in org.apache.hugegraph.computer.core.network.connection
Methods in org.apache.hugegraph.computer.core.network.connection with parameters of type ConnectionId Modifier and Type Method Description voidConnectionManager. closeClient(ConnectionId connectionId)Close a client from theConnectionManagervoidTransportConnectionManager. closeClient(ConnectionId connectionId)TransportClientConnectionManager. getOrCreateClient(ConnectionId connectionId)Get aTransportClientinstance from the connection pool first.TransportClientTransportConnectionManager. getOrCreateClient(ConnectionId connectionId) -
Uses of ConnectionId in org.apache.hugegraph.computer.core.network.netty
Methods in org.apache.hugegraph.computer.core.network.netty that return ConnectionId Modifier and Type Method Description ConnectionIdNettyTransportClient. connectionId()Methods in org.apache.hugegraph.computer.core.network.netty with parameters of type ConnectionId Modifier and Type Method Description TransportClientNettyClientFactory. createClient(ConnectionId connectionId, ClientHandler handler)Create a newTransportClientto the remote address.Constructors in org.apache.hugegraph.computer.core.network.netty with parameters of type ConnectionId Constructor Description NettyTransportClient(io.netty.channel.Channel channel, ConnectionId connectionId, NettyClientFactory clientFactory, ClientHandler clientHandler) -
Uses of ConnectionId in org.apache.hugegraph.computer.core.receiver
Methods in org.apache.hugegraph.computer.core.receiver with parameters of type ConnectionId Modifier and Type Method Description voidMessageRecvManager. exceptionCaught(TransportException cause, ConnectionId connectionId)voidMessageRecvManager. onChannelActive(ConnectionId connectionId)voidMessageRecvManager. onChannelInactive(ConnectionId connectionId)voidMessageRecvManager. onFinished(ConnectionId connectionId)voidMessageRecvManager. onStarted(ConnectionId connectionId)
-