Package com.impossibl.postgres.protocol
Interface ServerConnection
-
public interface ServerConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServerConnection.KeyDatastatic interfaceServerConnection.Listener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.buffer.ByteBufAllocatorgetAllocator()ScheduledExecutorServicegetIOExecutor()ServerConnection.KeyDatagetKeyData()VersiongetProtocolVersion()SocketAddressgetRemoteAddress()RequestExecutorgetRequestExecutor()ServerInfogetServerInfo()TransactionStatusgetTransactionStatus()booleanisConnected()io.netty.channel.ChannelFuturekill()io.netty.channel.ChannelFutureshutdown()
-
-
-
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()
-
-