DataBufferPOATie.java
1.57 KB
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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.service;
import com.adobe.service.DataBuffer;
import com.adobe.service.DataBufferHelper;
import com.adobe.service.DataBufferOperations;
import com.adobe.service.DataBufferPOA;
import org.omg.CORBA.ORB;
import org.omg.PortableServer.POA;
public class DataBufferPOATie
extends DataBufferPOA {
private DataBufferOperations _delegate;
private POA _poa;
public DataBufferPOATie(DataBufferOperations delegate) {
this._delegate = delegate;
}
public DataBufferPOATie(DataBufferOperations delegate, POA poa) {
this._delegate = delegate;
this._poa = poa;
}
public DataBuffer _this() {
return DataBufferHelper.narrow(this._this_object());
}
public DataBuffer _this(ORB orb) {
return DataBufferHelper.narrow(this._this_object(orb));
}
public DataBufferOperations _delegate() {
return this._delegate;
}
public void _delegate(DataBufferOperations delegate) {
this._delegate = delegate;
}
public POA _default_POA() {
if (this._poa != null) {
return this._poa;
}
return super._default_POA();
}
public String getContentType() {
return this._delegate.getContentType();
}
public void setContentType(String contentType) {
this._delegate.setContentType(contentType);
}
public byte[] getBytes(long pos, long nBytes) {
return this._delegate.getBytes(pos, nBytes);
}
public long getBufLength() {
return this._delegate.getBufLength();
}
}