@FunctionalInterface
public interface TransmitAction
This action is primarily intended for transmitting data while the transmit lock is held.
XdrStreamAccess.withTransmitLock(TransmitAction)| Modifier and Type | Method and Description |
|---|---|
void |
transmit(XdrOutputStream xdrOut)
Transmits a message (or messages) to Firebird.
|
void transmit(XdrOutputStream xdrOut) throws java.io.IOException, java.sql.SQLException
Implementations should not obtain (additional) locks, and must not attempt to
read (receive) data from the server. Preferably, the only operations done are writes to xdrOut. In
general, an action should write the whole message. If that is not possible, make sure that the full message is
written while the transmit lock is held.
xdrOut - XDR output stream to Firebird serverjava.io.IOException - for errors writing into xdrOutjava.sql.SQLException - for connection state errorsXdrStreamAccess.withTransmitLock(TransmitAction)Copyright © 2001-2026 Jaybird (Firebird JDBC) team. All rights reserved.