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()java.util.concurrent.ScheduledExecutorServicegetIOExecutor()ServerConnection.KeyDatagetKeyData()VersiongetProtocolVersion()java.net.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
java.net.SocketAddress getRemoteAddress()
-
getTransactionStatus
TransactionStatus getTransactionStatus() throws java.io.IOException
- Throws:
java.io.IOException
-
getRequestExecutor
RequestExecutor getRequestExecutor()
-
shutdown
io.netty.channel.ChannelFuture shutdown()
-
kill
io.netty.channel.ChannelFuture kill()
-
isConnected
boolean isConnected()
-
getIOExecutor
java.util.concurrent.ScheduledExecutorService getIOExecutor()
-
-