|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.rep.stream.FeederReplicaHandshake
public class FeederReplicaHandshake
Implements the Feeder side of the handshake between the Feeder and the Replica. The ReplicaFeederHandshake class takes care of the other side.
| Constructor Summary | |
|---|---|
FeederReplicaHandshake(RepNode repNode,
Feeder feeder,
NamedChannel namedChannel)
An instance of this class is created with each new handshake preceding the setting up of a connection. |
|
| Method Summary | |
|---|---|
Protocol |
execute()
Executes the feeder side of the handshake. |
NameIdPair |
getReplicaNameIdPair()
Returns the replica node id. |
static void |
setTestLogVersion(int testLogVersion)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeederReplicaHandshake(RepNode repNode,
Feeder feeder,
NamedChannel namedChannel)
repNode - the replication nodefeeder - the feeder instancenamedChannel - the channel to be used for the handshake| Method Detail |
|---|
public NameIdPair getReplicaNameIdPair()
public static void setTestLogVersion(int testLogVersion)
public Protocol execute()
throws DatabaseException,
IOException,
BinaryProtocol.ProtocolException,
Feeder.ExitException
BinaryProtocol.ProtocolException
Feeder.ExitException
DatabaseException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||