~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cs/test/IceGrid/simple/Client.cs

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martín
  • Date: 2011-06-25 19:44:26 UTC
  • mfrom: (6.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20110625194426-9fip3u3hlwheohvl
Tags: 3.4.2-1
New upstream release (Closes: #631456).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4
4
//
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.
20
20
 
21
21
public class Client
22
22
{
23
 
    private static int
24
 
    run(string[] args, Ice.Communicator communicator)
 
23
    private static int run(string[] args, Ice.Communicator communicator)
25
24
    {
26
25
        bool withDeploy = false;
27
26
        for(int i = 0; i < args.Length; i++)
45
44
        return 0;
46
45
    }
47
46
 
48
 
    public static void Main(string[] args)
 
47
    public static int Main(string[] args)
49
48
    {
50
49
        int status = 0;
51
50
        Ice.Communicator communicator = null;
52
51
 
 
52
#if !COMPACT
53
53
        Debug.Listeners.Add(new ConsoleTraceListener());
 
54
#endif
54
55
 
55
56
        try
56
57
        {
76
77
            }
77
78
        }
78
79
 
79
 
        if(status != 0)
80
 
        {
81
 
            System.Environment.Exit(status);
82
 
        }
 
80
        return status;
83
81
    }
84
82
}