summaryrefslogtreecommitdiff
path: root/objective-c/test/Ice/metrics/TestI.h
blob: 69624fb302c6045c08ae9b370be518dd214ca94f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// **********************************************************************
//
// Copyright (c) 2003-2016 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 <MetricsTest.h>

@interface MetricsI : TestMetricsMetrics<TestMetricsMetrics>
-(id) init;
-(void) op:(ICECurrent*)current;
-(void) fail:(ICECurrent*)current;
-(void) opWithUserException:(ICECurrent*)current;
-(void) opWithRequestFailedException:(ICECurrent*)current;
-(void) opWithLocalException:(ICECurrent*)current;
-(void) opWithUnknownException:(ICECurrent*)current;
-(void) opByteS:(ICEByteSeq*)bs current:(ICECurrent*)current;
-(ICEObjectPrx*) getAdmin:(ICECurrent*)current;
-(void) shutdown:(ICECurrent*)current;
@end

@interface ControllerI : TestMetricsController<TestMetricsController>
{
@private
	id<ICEObjectAdapter> adapter;
}
-(id) init:(id<ICEObjectAdapter>)adapter_p;
-(void) hold:(ICECurrent*)current;
-(void) resume:(ICECurrent*)current;
@end