diff options
author | Michi Henning <michi@zeroc.com> | 2009-01-06 06:30:02 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-01-06 06:30:02 +1000 |
commit | 7364294bfe5f7ee31ad550b3d237135760a6fa95 (patch) | |
tree | 608aeb0a7932af17047ea923d6936c95e4467e4d /java/demo/RMI/throughput/Throughput.java | |
parent | Fix 3564 - IceGrid::Locator missing from .NET IceGrid.dll (diff) | |
download | ice-7364294bfe5f7ee31ad550b3d237135760a6fa95.tar.bz2 ice-7364294bfe5f7ee31ad550b3d237135760a6fa95.tar.xz ice-7364294bfe5f7ee31ad550b3d237135760a6fa95.zip |
Removed RMI and WCF demos (now in articles.git repository).
Diffstat (limited to 'java/demo/RMI/throughput/Throughput.java')
-rwxr-xr-x | java/demo/RMI/throughput/Throughput.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/java/demo/RMI/throughput/Throughput.java b/java/demo/RMI/throughput/Throughput.java deleted file mode 100755 index 92c7f8717a7..00000000000 --- a/java/demo/RMI/throughput/Throughput.java +++ /dev/null @@ -1,51 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -import java.rmi.Remote; -import java.rmi.RemoteException; - -public interface Throughput extends Remote -{ - int ByteSeqSize = 500000; - - int StringSeqSize = 50000; - - class StringDouble implements java.io.Serializable - { - public String s; - public double d; - }; - int StringDoubleSeqSize = 50000; - - class Fixed implements java.io.Serializable - { - int i; - int j; - double d; - }; - int FixedSeqSize = 50000; - - void sendByteSeq(byte[] seq) throws RemoteException; - byte[] recvByteSeq() throws RemoteException; - byte[] echoByteSeq(byte[] seq) throws RemoteException; - - void sendStringSeq(String[] seq) throws RemoteException; - String[] recvStringSeq() throws RemoteException; - String[] echoStringSeq(String[] seq) throws RemoteException; - - void sendStructSeq(StringDouble[] seq) throws RemoteException; - StringDouble[] recvStructSeq() throws RemoteException; - StringDouble[] echoStructSeq(StringDouble[] seq) throws RemoteException; - - void sendFixedSeq(Fixed[] seq) throws RemoteException; - Fixed[] recvFixedSeq() throws RemoteException; - Fixed[] echoFixedSeq(Fixed[] seq) throws RemoteException; - - void shutdown() throws RemoteException; -} |