Re: Incoming/Sent traffic data
От | Israel Ben Guilherme Fonseca |
---|---|
Тема | Re: Incoming/Sent traffic data |
Дата | |
Msg-id | BANLkTimpQx2pTk4bJ-KDK9RPr-fSQcMXMg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Incoming/Sent traffic data (Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>) |
Ответы |
Re: Incoming/Sent traffic data
|
Список | 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?
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,The jdbc driver does not depend on libpq--it is a standalone wire
> so that's why the SSL compressing is working.
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 по дате отправления: