org.neo4j.kernel.ha
Interface ResponseReceiver

All Superinterfaces:
org.neo4j.com.Client.ConnectionLostHandler
All Known Implementing Classes:
HAGraphDb

public interface ResponseReceiver
extends org.neo4j.com.Client.ConnectionLostHandler


Field Summary
 
Fields inherited from interface org.neo4j.com.Client.ConnectionLostHandler
NO_ACTION
 
Method Summary
 org.neo4j.com.SlaveContext getSlaveContext(int eventIdentifier)
          Returns a SlaveContext instance that has eventIdentifier as the event identifier.
 void newMaster(Exception cause)
           
<T> T
receive(org.neo4j.com.Response<T> response)
           
 void reconnect(Exception cause)
           
 
Methods inherited from interface org.neo4j.com.Client.ConnectionLostHandler
handle
 

Method Detail

getSlaveContext

org.neo4j.com.SlaveContext getSlaveContext(int eventIdentifier)
Returns a SlaveContext instance that has eventIdentifier as the event identifier.

Parameters:
eventIdentifier - The event identifier of the returned slave context
Returns:
The slave context

receive

<T> T receive(org.neo4j.com.Response<T> response)

newMaster

void newMaster(Exception cause)

reconnect

void reconnect(Exception cause)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.