Package com.logviewer.data2.net.server
Class RemoteTaskContextImpl<CALL_BACK>
java.lang.Object
com.logviewer.data2.net.server.RemoteTaskContextImpl<CALL_BACK>
- All Implemented Interfaces:
RemoteContext,RemoteTaskContext<CALL_BACK>
public class RemoteTaskContextImpl<CALL_BACK>
extends Object
implements RemoteTaskContext<CALL_BACK>
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteTaskContextImpl(LogService logService, BiConsumer<CALL_BACK, Boolean> listener, Consumer<Throwable> errorListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid
-
Constructor Details
-
RemoteTaskContextImpl
public RemoteTaskContextImpl(LogService logService, BiConsumer<CALL_BACK, Boolean> listener, Consumer<Throwable> errorListener)
-
-
Method Details
-
getLogService
- Specified by:
getLogServicein interfaceRemoteContext
-
send
- Specified by:
sendin interfaceRemoteTaskContext<CALL_BACK>
-
sendAndCloseChannel
- Specified by:
sendAndCloseChannelin interfaceRemoteTaskContext<CALL_BACK>
-
sendErrorAndCloseChannel
- Specified by:
sendErrorAndCloseChannelin interfaceRemoteTaskContext<CALL_BACK>
-