summaryrefslogtreecommitdiff
path: root/qpid/java/common/src/main/java/org/apache/qpid/transport/MethodDelegate.java
blob: 33f52d9f2b3a9ff362adaa4b89651588eec57aea (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
package org.apache.qpid.transport;
/*
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 */


public abstract class MethodDelegate<C> {

    public abstract void handle(C context, Method method);

    public void connectionStart(C context, ConnectionStart method) {
        handle(context, method);
    }
    public void connectionStartOk(C context, ConnectionStartOk method) {
        handle(context, method);
    }
    public void connectionSecure(C context, ConnectionSecure method) {
        handle(context, method);
    }
    public void connectionSecureOk(C context, ConnectionSecureOk method) {
        handle(context, method);
    }
    public void connectionTune(C context, ConnectionTune method) {
        handle(context, method);
    }
    public void connectionTuneOk(C context, ConnectionTuneOk method) {
        handle(context, method);
    }
    public void connectionOpen(C context, ConnectionOpen method) {
        handle(context, method);
    }
    public void connectionOpenOk(C context, ConnectionOpenOk method) {
        handle(context, method);
    }
    public void connectionRedirect(C context, ConnectionRedirect method) {
        handle(context, method);
    }
    public void connectionHeartbeat(C context, ConnectionHeartbeat method) {
        handle(context, method);
    }
    public void connectionClose(C context, ConnectionClose method) {
        handle(context, method);
    }
    public void connectionCloseOk(C context, ConnectionCloseOk method) {
        handle(context, method);
    }
    public void sessionAttach(C context, SessionAttach method) {
        handle(context, method);
    }
    public void sessionAttached(C context, SessionAttached method) {
        handle(context, method);
    }
    public void sessionDetach(C context, SessionDetach method) {
        handle(context, method);
    }
    public void sessionDetached(C context, SessionDetached method) {
        handle(context, method);
    }
    public void sessionRequestTimeout(C context, SessionRequestTimeout method) {
        handle(context, method);
    }
    public void sessionTimeout(C context, SessionTimeout method) {
        handle(context, method);
    }
    public void sessionCommandPoint(C context, SessionCommandPoint method) {
        handle(context, method);
    }
    public void sessionExpected(C context, SessionExpected method) {
        handle(context, method);
    }
    public void sessionConfirmed(C context, SessionConfirmed method) {
        handle(context, method);
    }
    public void sessionCompleted(C context, SessionCompleted method) {
        handle(context, method);
    }
    public void sessionKnownCompleted(C context, SessionKnownCompleted method) {
        handle(context, method);
    }
    public void sessionFlush(C context, SessionFlush method) {
        handle(context, method);
    }
    public void sessionGap(C context, SessionGap method) {
        handle(context, method);
    }
    public void executionSync(C context, ExecutionSync method) {
        handle(context, method);
    }
    public void executionResult(C context, ExecutionResult method) {
        handle(context, method);
    }
    public void executionException(C context, ExecutionException method) {
        handle(context, method);
    }
    public void messageTransfer(C context, MessageTransfer method) {
        handle(context, method);
    }
    public void messageAccept(C context, MessageAccept method) {
        handle(context, method);
    }
    public void messageReject(C context, MessageReject method) {
        handle(context, method);
    }
    public void messageRelease(C context, MessageRelease method) {
        handle(context, method);
    }
    public void messageAcquire(C context, MessageAcquire method) {
        handle(context, method);
    }
    public void messageResume(C context, MessageResume method) {
        handle(context, method);
    }
    public void messageSubscribe(C context, MessageSubscribe method) {
        handle(context, method);
    }
    public void messageCancel(C context, MessageCancel method) {
        handle(context, method);
    }
    public void messageSetFlowMode(C context, MessageSetFlowMode method) {
        handle(context, method);
    }
    public void messageFlow(C context, MessageFlow method) {
        handle(context, method);
    }
    public void messageFlush(C context, MessageFlush method) {
        handle(context, method);
    }
    public void messageStop(C context, MessageStop method) {
        handle(context, method);
    }
    public void txSelect(C context, TxSelect method) {
        handle(context, method);
    }
    public void txCommit(C context, TxCommit method) {
        handle(context, method);
    }
    public void txRollback(C context, TxRollback method) {
        handle(context, method);
    }
    public void dtxSelect(C context, DtxSelect method) {
        handle(context, method);
    }
    public void dtxStart(C context, DtxStart method) {
        handle(context, method);
    }
    public void dtxEnd(C context, DtxEnd method) {
        handle(context, method);
    }
    public void dtxCommit(C context, DtxCommit method) {
        handle(context, method);
    }
    public void dtxForget(C context, DtxForget method) {
        handle(context, method);
    }
    public void dtxGetTimeout(C context, DtxGetTimeout method) {
        handle(context, method);
    }
    public void dtxPrepare(C context, DtxPrepare method) {
        handle(context, method);
    }
    public void dtxRecover(C context, DtxRecover method) {
        handle(context, method);
    }
    public void dtxRollback(C context, DtxRollback method) {
        handle(context, method);
    }
    public void dtxSetTimeout(C context, DtxSetTimeout method) {
        handle(context, method);
    }
    public void exchangeDeclare(C context, ExchangeDeclare method) {
        handle(context, method);
    }
    public void exchangeDelete(C context, ExchangeDelete method) {
        handle(context, method);
    }
    public void exchangeQuery(C context, ExchangeQuery method) {
        handle(context, method);
    }
    public void exchangeBind(C context, ExchangeBind method) {
        handle(context, method);
    }
    public void exchangeUnbind(C context, ExchangeUnbind method) {
        handle(context, method);
    }
    public void exchangeBound(C context, ExchangeBound method) {
        handle(context, method);
    }
    public void queueDeclare(C context, QueueDeclare method) {
        handle(context, method);
    }
    public void queueDelete(C context, QueueDelete method) {
        handle(context, method);
    }
    public void queuePurge(C context, QueuePurge method) {
        handle(context, method);
    }
    public void queueQuery(C context, QueueQuery method) {
        handle(context, method);
    }
}