public class BaseProtocolListener extends Object implements ProtocolListener
Constructor and Description |
---|
BaseProtocolListener() |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
authenticateClear(ProtocolImpl protocol) |
void |
authenticateCrypt(ProtocolImpl protocol) |
void |
authenticated(ProtocolImpl protocol) |
void |
authenticateGSS(ProtocolImpl protocol) |
void |
authenticateGSSCont(ProtocolImpl protocol) |
void |
authenticateKerberos(ProtocolImpl protocol) |
void |
authenticateMD5(ProtocolImpl protocol,
byte[] salt) |
void |
authenticateSCM(ProtocolImpl protocol) |
void |
authenticateSSPI(ProtocolImpl protocol) |
void |
backendKeyData(int processId,
int secretKey) |
void |
bindComplete() |
void |
closeComplete() |
void |
commandComplete(String command,
Long rowsAffected,
Long oid) |
void |
emptyQuery() |
void |
error(Notice error) |
void |
exception(Throwable throwable) |
void |
functionResult(Object value) |
boolean |
isAborted() |
boolean |
isComplete() |
void |
noData() |
void |
notice(Notice notice) |
void |
notification(int processId,
String channelName,
String payload) |
void |
parametersDescription(List<TypeRef> parameterTypes) |
void |
parseComplete() |
void |
portalSuspended() |
void |
ready(TransactionStatus txStatus) |
void |
rowData(io.netty.buffer.ByteBuf buffer) |
void |
rowDescription(List<ResultField> asList) |
public void abort()
abort
in interface ProtocolListener
public boolean isAborted()
isAborted
in interface ProtocolListener
public boolean isComplete()
isComplete
in interface ProtocolListener
public void ready(TransactionStatus txStatus)
ready
in interface ProtocolListener
public void parseComplete()
parseComplete
in interface ProtocolListener
public void parametersDescription(List<TypeRef> parameterTypes)
parametersDescription
in interface ProtocolListener
public void noData()
noData
in interface ProtocolListener
public void bindComplete()
bindComplete
in interface ProtocolListener
public void rowDescription(List<ResultField> asList)
rowDescription
in interface ProtocolListener
public void rowData(io.netty.buffer.ByteBuf buffer) throws IOException
rowData
in interface ProtocolListener
IOException
public void functionResult(Object value)
functionResult
in interface ProtocolListener
public void emptyQuery()
emptyQuery
in interface ProtocolListener
public void portalSuspended()
portalSuspended
in interface ProtocolListener
public void commandComplete(String command, Long rowsAffected, Long oid)
commandComplete
in interface ProtocolListener
public void closeComplete()
closeComplete
in interface ProtocolListener
public void notification(int processId, String channelName, String payload)
notification
in interface ProtocolListener
public void notice(Notice notice)
notice
in interface ProtocolListener
public void error(Notice error)
error
in interface ProtocolListener
public void backendKeyData(int processId, int secretKey)
backendKeyData
in interface ProtocolListener
public void authenticated(ProtocolImpl protocol) throws IOException
authenticated
in interface ProtocolListener
IOException
public void authenticateKerberos(ProtocolImpl protocol) throws IOException
authenticateKerberos
in interface ProtocolListener
IOException
public void authenticateClear(ProtocolImpl protocol) throws IOException
authenticateClear
in interface ProtocolListener
IOException
public void authenticateCrypt(ProtocolImpl protocol) throws IOException
authenticateCrypt
in interface ProtocolListener
IOException
public void authenticateMD5(ProtocolImpl protocol, byte[] salt) throws IOException
authenticateMD5
in interface ProtocolListener
IOException
public void authenticateSCM(ProtocolImpl protocol) throws IOException
authenticateSCM
in interface ProtocolListener
IOException
public void authenticateGSS(ProtocolImpl protocol) throws IOException
authenticateGSS
in interface ProtocolListener
IOException
public void authenticateGSSCont(ProtocolImpl protocol) throws IOException
authenticateGSSCont
in interface ProtocolListener
IOException
public void authenticateSSPI(ProtocolImpl protocol) throws IOException
authenticateSSPI
in interface ProtocolListener
IOException
public void exception(Throwable throwable) throws IOException
exception
in interface ProtocolListener
IOException
Copyright © 2013-2015 impossibl.com. All Rights Reserved.