Package com.impossibl.postgres.protocol
Interface ServerConnection
-
public interface ServerConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServerConnection.KeyData
static interface
ServerConnection.Listener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.buffer.ByteBufAllocator
getAllocator()
ScheduledExecutorService
getIOExecutor()
ServerConnection.KeyData
getKeyData()
Version
getProtocolVersion()
SocketAddress
getRemoteAddress()
RequestExecutor
getRequestExecutor()
ServerInfo
getServerInfo()
TransactionStatus
getTransactionStatus()
boolean
isConnected()
io.netty.channel.ChannelFuture
kill()
io.netty.channel.ChannelFuture
shutdown()
-
-
-
Method Detail
-
getServerInfo
ServerInfo getServerInfo()
-
getProtocolVersion
Version getProtocolVersion()
-
getKeyData
ServerConnection.KeyData getKeyData()
-
getAllocator
io.netty.buffer.ByteBufAllocator getAllocator()
-
getRemoteAddress
SocketAddress getRemoteAddress()
-
getTransactionStatus
TransactionStatus getTransactionStatus() throws IOException
- Throws:
IOException
-
getRequestExecutor
RequestExecutor getRequestExecutor()
-
shutdown
io.netty.channel.ChannelFuture shutdown()
-
kill
io.netty.channel.ChannelFuture kill()
-
isConnected
boolean isConnected()
-
getIOExecutor
ScheduledExecutorService getIOExecutor()
-
-