1
1
// **********************************************************************
3
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
8
8
// **********************************************************************
10
public final class TestIntfI extends Test._TestIntfDisp
12
import test.Ice.udp.Test.*;
14
public final class TestIntfI extends _TestIntfDisp
12
public void ping(Test.PingReplyPrx reply, Ice.Current current)
18
catch(Ice.LocalException ex)
24
public void sendByteSeq(byte[] seq, Test.PingReplyPrx reply, Ice.Current current)
16
public void ping(PingReplyPrx reply, Ice.Current current)
22
catch(Ice.LocalException ex)
28
public void sendByteSeq(byte[] seq, PingReplyPrx reply, Ice.Current current)
34
catch(Ice.LocalException ex)
40
public void pingBiDir(Ice.Identity id, Ice.Current current)
45
// Ensure sending too much data doesn't cause the UDP connection
50
byte[] seq = new byte[32 * 1024];
51
TestIntfPrxHelper.uncheckedCast(current.con.createProxy(id)).sendByteSeq(seq, null);
53
catch(Ice.DatagramLimitException ex)
58
PingReplyPrxHelper.uncheckedCast(current.con.createProxy(id)).reply();
30
60
catch(Ice.LocalException ex)