private void sendCloseSession() throws IOException{
        ProtocolHeader h = new ProtocolHeader();
        h.setType(ProtocolType.CloseSession);

        sendAdminPacket(h, null);
    }
private void sendCloseSession ( ) throws IOException { ProtocolHeader h = new ProtocolHeader ( ) ; h . setType ( ProtocolType . CloseSession ) ; sendAdminPacket ( h , null ) ; }
Send the CloseSession packet.

@throws IOException
the IOException.