Rafael Schloming wrote:
Jonathan Robie wrote:
C++ seems simpler and cleaner to me here. You create a Connection
object, open it, then use it to create a Session object:
C++:
=
Connection connection;
try {
connection.open(host, port);
Session session = connection.newSession();
Rafael Schloming wrote:
Gordon Sim wrote:
- How does the C++ connect work without a username and password?
That can be specified on Connection::open() either through the passed
in ConnectionSetttings (preferred at present as this allows setting of
various options including tcp/ssl/rdma) or
C++ seems simpler and cleaner to me here. You create a Connection
object, open it, then use it to create a Session object:
C++:
=
Connection connection;
try {
connection.open(host, port);
Session session = connection.newSession();
Python is more complex, because it requires:
*
Jonathan Robie wrote:
C++ seems simpler and cleaner to me here. You create a Connection
object, open it, then use it to create a Session object:
C++:
=
Connection connection;
try {
connection.open(host, port);
Session session = connection.newSession();
Python is more complex,
On Wed, Feb 11, 2009 at 5:32 PM, Rafael Schloming rafa...@redhat.com wrote:
- I can buy adding a static convenience method similar to the C++ one,
although I'd expect a username and password somewhere as well. I think we
should preserve the ability to pass in a socket from an arbitrary source