class RpcStreamConnection extends RpcConnection {

    public long putRpcPackets(@Nonnull RpcPacket[] packets) throws ConnectionException {
        Validate.notNull(packets);
        int retVal = 0;

        for (RpcPacket packet : packets) {
            if (nonNull(packet)) {
                retVal += putRpcPacket(packet);
            }
        }
        return retVal;
    }

    public  RpcStreamConnection(String serverHost, int serverPort, Properties props,
                               ServerStats stats, P4Charset p4Charset, boolean secure);
    private  RpcStreamConnection(String serverHost, int serverPort, Properties props,
            ServerStats stats, P4Charset p4Charset, Socket socket, boolean secure);
    private  RpcStreamConnection(String serverHost, int serverPort, Properties props,
            ServerStats stats, P4Charset p4Charset, Socket socket, RpcSocketPool pool, boolean secure);
    public  RpcStreamConnection(String serverHost, int serverPort, Properties props,
            ServerStats stats, P4Charset p4Charset, Socket socket, RpcSocketPool pool, boolean secure,
            String rsh);

}