public class FeederReplicaHandshake
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Protocol |
execute()
Executes the feeder side of the handshake.
|
NameIdPair |
getReplicaNameIdPair()
Returns the replica node ID.
|
static void |
setTestLogVersion(int testLogVersion) |
public FeederReplicaHandshake(RepNode repNode, Feeder feeder, NamedChannel namedChannel)
repNode
- the replication nodefeeder
- the feeder instancenamedChannel
- the channel to be used for the handshakepublic NameIdPair getReplicaNameIdPair()
public static void setTestLogVersion(int testLogVersion)
public Protocol execute() throws DatabaseException, java.io.IOException, BinaryProtocol.ProtocolException, Feeder.ExitException
BinaryProtocol.ProtocolException
Feeder.ExitException
DatabaseException
java.io.IOException
Copyright (c) 2004-2012 Oracle. All rights reserved.