Re: Incoming/Sent traffic data - Mailing list pgsql-jdbc

From Israel Ben Guilherme Fonseca
Subject Re: Incoming/Sent traffic data
Date
Msg-id BANLkTimpQx2pTk4bJ-KDK9RPr-fSQcMXMg@mail.gmail.com
Whole thread Raw
In response to Re: Incoming/Sent traffic data  (Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>)
Responses Re: Incoming/Sent traffic data
List pgsql-jdbc
Macieck, another question about the wireshark.

Is there any way to control it from a java code? Something like:

// Start the wireshark normally with some filter

// Java code starts here

Shell.run("clear") // clear the data received util now

// Some procces here

double v = Shell.run("get bytes")

Shell.run("clear") // clear the data received util now

---

With that I could automatize my tests using the wireshark instead my old proxy. Do you have any idea about how to achieve that?

2011/5/13 Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>
Tom ->
http://initd.org/psycopg/features/
"psycopg is written mostly in C and wraps the libpq library with the result of being both fast and secure."
So it's always using the libpq lbrary.

Macieck ->
A much more portable solution indeed.



2011/5/13 Maciek Sakrejda <msakrejda@truviso.com>
> I don't know about the java implementation but psycopg2 is on top of libpq,
> so that's why the SSL compressing is working.

The jdbc driver does not depend on libpq--it is a standalone wire
protocol implementation based on Java Sockets.

---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com


pgsql-jdbc by date:

Previous
From: Israel Ben Guilherme Fonseca
Date:
Subject: Re: Incoming/Sent traffic data
Next
From: "Johann 'Myrkraverk' Oskarsson"
Date:
Subject: Re: Incoming/Sent traffic data