Package com.codingchili.core.testing
Class RequestMock.ClusterRequestMock
java.lang.Object
com.codingchili.core.listener.transport.ClusterRequest
com.codingchili.core.testing.RequestMock.ClusterRequestMock
- All Implemented Interfaces:
Messageable
,Request
- Enclosing class:
- RequestMock
-
Field Summary
Fields inherited from interface com.codingchili.core.listener.Request
TARGET_UNDEFINED
-
Method Summary
Methods inherited from class com.codingchili.core.listener.transport.ClusterRequest
buffer, connection, data, maxSize, size, timeout, write
-
Method Details
-
setListener
- Parameters:
listener
- invoked when the request response is written.- Returns:
- fluent.
-
setTarget
- Parameters:
target
- overwrite the current target with the given value.- Returns:
- fluent.
-
setRoute
- Parameters:
route
- overwrite the current route with the given value.- Returns:
- fluent.
-