You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/05/10 18:48:26 UTC
[Cassandra Wiki] Trivial Update of "ThriftExamples" by JonathanEllis
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "ThriftExamples" page has been changed by JonathanEllis.
The comment on this change is: add TBufferedTransport to C# example.
http://wiki.apache.org/cassandra/ThriftExamples?action=diff&rev1=79&rev2=80
--------------------------------------------------
{
static void Main(string[] args)
{
- TTransport transport = new TSocket("localhost", 9160);
+ TTransport transport = new TBufferedTransport(new TSocket("localhost", 9160));
TProtocol protocol = new TBinaryProtocol(transport);
Cassandra.Client client = new Cassandra.Client(protocol);