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