public class GridClockServer extends Object
| Constructor and Description |
|---|
GridClockServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStart()
After start callback.
|
void |
beforeStop()
Before stop callback.
|
InetAddress |
host() |
int |
port() |
void |
sendPacket(GridClockMessage msg,
InetAddress addr,
int port)
Sends packet to remote node.
|
void |
start(GridKernalContext ctx)
Starts server.
|
void |
stop()
Stops server.
|
public void start(GridKernalContext ctx) throws IgniteCheckedException
ctx - Kernal context.IgniteCheckedException - If server could not be started.public void afterStart()
public void stop()
public void beforeStop()
public void sendPacket(GridClockMessage msg, InetAddress addr, int port) throws IgniteCheckedException
msg - Message to send.addr - Address.port - Port.IgniteCheckedException - If send failed.public InetAddress host()
public int port()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016