public override void peerConnected(string peerId, PeerAccessLevel peerAccessLevel, ObjectPrx peerProxy, Current current) { Trace.TraceError("TerkUserServant.peerConnected()" + current.ToString()); Trace.TraceError("The peer [" + peerId + "|" + peerAccessLevel + "|" + Util.identityToString(peerProxy.ice_getIdentity()) + "] just connected to me."); helper.peerConnected(peerId, peerAccessLevel, peerProxy, current); }
public void ToStringFormatTest() { double value = 10F; Current target = new Current(value); string format = string.Empty; string expected = value.ToString(); string actual; actual = target.ToString(format); Assert.AreEqual(expected, actual); }
public void ToStringProviderTest() { double value = 10F; Current target = new Current(10F); IFormatProvider provider = null; string expected = value.ToString(); string actual; actual = target.ToString(provider); Assert.AreEqual(expected, actual); }
public void ToStringTest() { double value = 10F; Current target = new Current(10F); string expected = value.ToString(); string actual; actual = target.ToString(); Assert.AreEqual(expected, actual); }
public override void peerDisconnected(string peerId, Current current) { Trace.TraceError("TerkUserServant.peerDisconnected()" + current.ToString()); Trace.TraceError("The peer [" + peerId + "] just disconnected from me."); helper.peerDisconnected(peerId, current); }
public override void peerConnectedNoProxy(string peerId, PeerAccessLevel peerAccessLevel, Current current) { Trace.TraceError("TerkUserServant.peerConnectedNoProxy()" + current.ToString()); Trace.TraceError("The peer [" + peerId + "|" + peerAccessLevel + "] just connected to me (and I didn't get a proxy)."); helper.peerConnectedNoProxy(peerId, peerAccessLevel, current); }