public class SendPingPacket extends Object implements InterfaceSendPacket
Constructor and Description |
---|
SendPingPacket() |
Modifier and Type | Method and Description |
---|---|
void |
send(OutputStream os)
Send a Mysql protocol "ping" to check connection is alive.
|
public void send(OutputStream os) throws IOException
send
in interface InterfaceSendPacket
os
- database socketIOException
- if any connection error occurCopyright © 2016. All rights reserved.