Module org.neo4j.driver
Class InboundMessageDispatcher
java.lang.Object
org.neo4j.driver.internal.async.inbound.InboundMessageDispatcher
- All Implemented Interfaces:
ResponseMessageHandler
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
enqueue
(ResponseHandler handler) boolean
void
handleChannelError
(Throwable error) void
handleChannelInactive
(Throwable cause) void
handleFailureMessage
(String code, String message) void
void
handleRecordMessage
(Value[] fields) void
handleSuccessMessage
(Map<String, Value> meta) void
int
void
setBeforeLastHandlerHook
(InboundMessageDispatcher.HandlerHook beforeLastHandlerHook)
-
Constructor Details
-
InboundMessageDispatcher
-
-
Method Details
-
enqueue
-
setBeforeLastHandlerHook
-
queuedHandlersCount
public int queuedHandlersCount() -
handleSuccessMessage
- Specified by:
handleSuccessMessage
in interfaceResponseMessageHandler
-
handleRecordMessage
- Specified by:
handleRecordMessage
in interfaceResponseMessageHandler
-
handleFailureMessage
- Specified by:
handleFailureMessage
in interfaceResponseMessageHandler
-
handleIgnoredMessage
public void handleIgnoredMessage()- Specified by:
handleIgnoredMessage
in interfaceResponseMessageHandler
-
getBeforeLastHandlerHook
-
handleChannelInactive
-
handleChannelError
-
clearCurrentError
public void clearCurrentError() -
currentError
-
fatalErrorOccurred
public boolean fatalErrorOccurred() -
prepareToCloseChannel
public void prepareToCloseChannel()
-