public class PacemakerClient extends Object implements ISaslClient
Constructor and Description |
---|
PacemakerClient() |
PacemakerClient(Map config,
String host) |
Modifier and Type | Method and Description |
---|---|
void |
channelConnected(org.jboss.netty.channel.Channel channel) |
void |
channelReady() |
void |
close() |
void |
doReconnect() |
void |
gotMessage(HBMessage m) |
boolean |
isReady() |
String |
name() |
void |
reconnect() |
String |
secretKey() |
HBMessage |
send(HBMessage m) |
void |
shutdown() |
public boolean isReady()
public void channelConnected(org.jboss.netty.channel.Channel channel)
channelConnected
in interface ISaslClient
public void channelReady()
channelReady
in interface ISaslClient
public String name()
name
in interface ISaslClient
public String secretKey()
secretKey
in interface ISaslClient
public HBMessage send(HBMessage m) throws PacemakerConnectionException
PacemakerConnectionException
public void gotMessage(HBMessage m)
public void reconnect()
public void doReconnect()
public void shutdown()
public void close()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.