[Iiop-net-commits] IIOPNet/IntegrationTests/Direct/TestServer TestService.cs,1.10,1.11 TestServiceCo
Brought to you by:
dullmann,
patrik_reali
From: Dominic U. <dul...@us...> - 2004-08-11 20:18:41
|
Update of /cvsroot/iiop-net/IIOPNet/IntegrationTests/Direct/TestServer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11094/IIOPNet/IntegrationTests/Direct/TestServer Modified Files: TestService.cs TestServiceCommon.cs Log Message: check OrbServices.object_to_string Index: TestService.cs =================================================================== RCS file: /cvsroot/iiop-net/IIOPNet/IntegrationTests/Direct/TestServer/TestService.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TestService.cs 30 May 2004 11:32:31 -0000 1.10 --- TestService.cs 11 Aug 2004 20:18:32 -0000 1.11 *************** *** 30,33 **** --- 30,34 ---- using System.Runtime.Remoting; using Ch.Elca.Iiop.Idl; + using omg.org.CORBA; namespace Ch.Elca.Iiop.IntegrationTests { *************** *** 317,320 **** --- 318,326 ---- } + public string GetIorStringForThisObject() { + OrbServices orbServices = OrbServices.GetSingleton(); + return orbServices.object_to_string(this); + } + Index: TestServiceCommon.cs =================================================================== RCS file: /cvsroot/iiop-net/IIOPNet/IntegrationTests/Direct/TestServer/TestServiceCommon.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TestServiceCommon.cs 30 May 2004 11:32:32 -0000 1.10 --- TestServiceCommon.cs 11 Aug 2004 20:18:32 -0000 1.11 *************** *** 252,255 **** --- 252,258 ---- Adder CreateNewWithSystemID(); Adder CreateNewWithUserID(string userId); + + /// <summary>returns the IOR for the instance of MBR implementing this interface</summary> + string GetIorStringForThisObject(); } |