Improve C# support. Rename properties like C#-style

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16520 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Diego Toro
2010-01-27 02:25:22 +00:00
parent 83bae735d8
commit 677246547b
8 changed files with 1530 additions and 1519 deletions

View File

@@ -9,14 +9,14 @@ namespace ManagedEslTest
// Connect to FreeSWITCH
ESLconnection eslConnection = new ESLconnection("localhost", "8021", "ClueCon");
// We want all Events (probably will want to change this depending on your needs)
eslConnection.sendRecv("event plain ALL");
eslConnection.SendRecv("event plain ALL");
// Grab Events until process is killed
while (eslConnection.connected() == 1)
while (eslConnection.Connected() == 1)
{
ESLevent eslEvent = eslConnection.recvEvent();
Console.WriteLine(eslEvent.serialize(String.Empty));
ESLevent eslEvent = eslConnection.RecvEvent();
Console.WriteLine(eslEvent.Serialize(String.Empty));
}
}
}