Package com.mongodb.internal.connection
Interface ProtocolExecutor
-
public interface ProtocolExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
execute(CommandProtocol<T> protocol, InternalConnection connection, SessionContext sessionContext)
<T> T
execute(LegacyProtocol<T> protocol, InternalConnection connection)
<T> void
executeAsync(CommandProtocol<T> protocol, InternalConnection connection, SessionContext sessionContext, SingleResultCallback<T> callback)
<T> void
executeAsync(LegacyProtocol<T> protocol, InternalConnection connection, SingleResultCallback<T> callback)
-
-
-
Method Detail
-
execute
<T> T execute(LegacyProtocol<T> protocol, InternalConnection connection)
-
executeAsync
<T> void executeAsync(LegacyProtocol<T> protocol, InternalConnection connection, SingleResultCallback<T> callback)
-
execute
<T> T execute(CommandProtocol<T> protocol, InternalConnection connection, SessionContext sessionContext)
-
executeAsync
<T> void executeAsync(CommandProtocol<T> protocol, InternalConnection connection, SessionContext sessionContext, SingleResultCallback<T> callback)
-
-