Line | |
---|
1 | package gov.va.med.edp.business.responder
|
---|
2 | {
|
---|
3 | import mx.rpc.IResponder;
|
---|
4 |
|
---|
5 | public class ResponderDecorator implements IResponder
|
---|
6 | {
|
---|
7 | protected var responder:IResponder;
|
---|
8 |
|
---|
9 | public function ResponderDecorator(responder:IResponder) {
|
---|
10 | this.responder = responder;
|
---|
11 | }
|
---|
12 |
|
---|
13 | public function result(data:Object):void
|
---|
14 | {
|
---|
15 | this.responder.result(data);
|
---|
16 | }
|
---|
17 |
|
---|
18 | public function fault(info:Object):void
|
---|
19 | {
|
---|
20 | this.responder.fault(info);
|
---|
21 | }
|
---|
22 |
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.