void network_NewConnection(NetworkLevel2Connection net2con, ConnectionInfo connectioninfo) { LogFile.WriteLine("Testnetrpc , new connection " + connectioninfo); RpcController rpc = new RpcController(network); TestController.GetInstance().rpc = rpc; Testing.TestInterface_ClientProxy testinterface_clientproxy = new OSMP.Testing.TestInterface_ClientProxy(rpc, null); testinterface_clientproxy.SayHello(); }
public void SayMessage(IPEndPoint connection, string message) { LogFile.WriteLine("Message: " + message); Testing.TestInterface_ClientProxy testinterfaceclientproxy = new OSMP.Testing.TestInterface_ClientProxy(rpc, connection); Testing.TestClass testobject = new OSMP.Testing.TestClass(); testobject.name = "blue river"; testobject.indexes = new int[0]; testobject.childclass = new OSMP.Testing.ChildClass(); testinterfaceclientproxy.SendObject(testobject); }
public void SayHello(IPEndPoint connection) { LogFile.WriteLine("Hello!"); Testing.TestInterface_ClientProxy testinterfaceclientproxy = new OSMP.Testing.TestInterface_ClientProxy(rpc, connection); testinterfaceclientproxy.SayMessage("Hello sent via SayMessage!"); }
public void SayMessage(IPEndPoint connection, string message) { LogFile.WriteLine("Message: " + message); Testing.TestInterface_ClientProxy testinterfaceclientproxy = new OSMP.Testing.TestInterface_ClientProxy(rpc, connection); Testing.TestClass testobject = new OSMP.Testing.TestClass(); testobject.name = "blue river"; testobject.indexes = new int[0]; testobject.childclass = new OSMP.Testing.ChildClass(); testinterfaceclientproxy.SendObject(testobject); }
public void SayHello(IPEndPoint connection) { LogFile.WriteLine("Hello!"); Testing.TestInterface_ClientProxy testinterfaceclientproxy = new OSMP.Testing.TestInterface_ClientProxy( rpc, connection ); testinterfaceclientproxy.SayMessage("Hello sent via SayMessage!"); }
void network_NewConnection(NetworkLevel2Connection net2con, ConnectionInfo connectioninfo) { LogFile.WriteLine("Testnetrpc , new connection " + connectioninfo); RpcController rpc = new RpcController(network); TestController.GetInstance().rpc = rpc; Testing.TestInterface_ClientProxy testinterface_clientproxy = new OSMP.Testing.TestInterface_ClientProxy(rpc, null); testinterface_clientproxy.SayHello(); }