|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.thl.ProtocolMessage
com.continuent.tungsten.replicator.thl.ProtocolHandshake
public class ProtocolHandshake
This class defines a ProtocolHandshake, which is sent from the master to a slave as the slave connects. Masters offer capabilities to slaves.
| Constructor Summary | |
|---|---|
ProtocolHandshake()
Create a new instance. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getCapabilities()
Returns the current capability settings or null if no capabilities exist. |
java.lang.String |
getCapability(java.lang.String name)
Gets a capability value. |
void |
setCapability(java.lang.String name,
java.lang.String value)
Sets a capability to a particular value. |
| Methods inherited from class com.continuent.tungsten.replicator.thl.ProtocolMessage |
|---|
getPayload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolHandshake()
| Method Detail |
|---|
public void setCapability(java.lang.String name,
java.lang.String value)
public java.lang.String getCapability(java.lang.String name)
public java.util.Map<java.lang.String,java.lang.String> getCapabilities()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||