ChannelProvider
public class VertxChannelProvider extends java.lang.Object implements ChannelProvider
Constructor | Description |
---|---|
VertxChannelProvider() |
Modifier and Type | Method | Description |
---|---|---|
Channel |
getChannel() |
|
void |
start(java.lang.String ip,
int port,
int connectTimeoutInMillis) |
|
void |
stop() |
public void start(java.lang.String ip, int port, int connectTimeoutInMillis)
start
in interface ChannelProvider
public void stop()
stop
in interface ChannelProvider
public Channel getChannel()
getChannel
in interface ChannelProvider
Copyright © 2017–2018 Ocraft Project. All rights reserved.