Beispiel #1
0
new public void @this(){
//XMLVM_BEGIN_WRAPPER[java.net.Socket: void <init>()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    _r2_o = this;
    _r0.i = 0;
    ((global::java.lang.Object) _r2_o).@this();
    ((global::java.net.Socket) _r2_o)._fisCreated = 0!=_r0.i;
    ((global::java.net.Socket) _r2_o)._fisBound = 0!=_r0.i;
    ((global::java.net.Socket) _r2_o)._fisConnected = 0!=_r0.i;
    ((global::java.net.Socket) _r2_o)._fisClosed = 0!=_r0.i;
    ((global::java.net.Socket) _r2_o)._fisInputShutdown = 0!=_r0.i;
    ((global::java.net.Socket) _r2_o)._fisOutputShutdown = 0!=_r0.i;
    _r0_o = new global::java.net.Socket_2ConnectLock();
    _r1_o = null;
    ((global::java.net.Socket_2ConnectLock) _r0_o).@this((global::java.net.Socket_21) _r1_o);
    ((global::java.net.Socket) _r2_o)._fconnectLock = (global::java.lang.Object) _r0_o;
    _r0_o = global::java.net.Socket._ffactory;
    if (_r0_o == null) goto label37;
    _r0_o = global::java.net.Socket._ffactory;
    _r0_o = ((global::java.net.SocketImplFactory) _r0_o).createSocketImpl();
    label34:;
    ((global::java.net.Socket) _r2_o)._fimpl = (global::java.net.SocketImpl) _r0_o;
    return;
    label37:;
    _r0_o = new global::org.apache.harmony.luni.net.PlainSocketImpl();
    ((global::org.apache.harmony.luni.net.PlainSocketImpl) _r0_o).@this();
    goto label34;
//XMLVM_END_WRAPPER[java.net.Socket: void <init>()]
}
Beispiel #2
0
public void @this(global::java.net.Proxy n1){
//XMLVM_BEGIN_WRAPPER[java.net.Socket: void <init>(java.net.Proxy)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::System.Object _r7_o = null;
    _r6_o = this;
    _r7_o = n1;
    _r4.i = 0;
    ((global::java.lang.Object) _r6_o).@this();
    ((global::java.net.Socket) _r6_o)._fisCreated = 0!=_r4.i;
    ((global::java.net.Socket) _r6_o)._fisBound = 0!=_r4.i;
    ((global::java.net.Socket) _r6_o)._fisConnected = 0!=_r4.i;
    ((global::java.net.Socket) _r6_o)._fisClosed = 0!=_r4.i;
    ((global::java.net.Socket) _r6_o)._fisInputShutdown = 0!=_r4.i;
    ((global::java.net.Socket) _r6_o)._fisOutputShutdown = 0!=_r4.i;
    _r4_o = new global::java.net.Socket_2ConnectLock();
    _r5_o = null;
    ((global::java.net.Socket_2ConnectLock) _r4_o).@this((global::java.net.Socket_21) _r5_o);
    ((global::java.net.Socket) _r6_o)._fconnectLock = (global::java.lang.Object) _r4_o;
    if (_r7_o == null) goto label34;
    _r4_o = global::java.net.Proxy_2Type._fHTTP;
    _r5_o = ((global::java.net.Proxy) _r7_o).type();
    if (_r4_o != _r5_o) goto label46;
    label34:;
    _r4_o = new global::java.lang.IllegalArgumentException();
    // Value=luni.73
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 55)), unchecked((char) unchecked((uint) 51))}));
    _r5_o = global::[email protected]((global::java.lang.String) _r5_o);
    ((global::java.lang.IllegalArgumentException) _r4_o).@this((global::java.lang.String) _r5_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r4_o);
    label46:;
    _r1_o = ((global::java.net.Proxy) _r7_o).address();
    if (_r1_o == null) goto label71;
    _r0_o = ((global::java.net.InetSocketAddress) _r1_o).getAddress();
    if (_r0_o == null) goto label86;
    _r2_o = ((global::java.net.InetAddress) _r0_o).getHostAddress();
    label64:;
    _r3.i = ((global::java.net.InetSocketAddress) _r1_o).getPort();
    ((global::java.net.Socket) _r6_o).checkConnectPermission((global::java.lang.String) _r2_o, (int) _r3.i);
    label71:;
    _r4_o = global::java.net.Socket._ffactory;
    if (_r4_o == null) goto label91;
    _r4_o = global::java.net.Socket._ffactory;
    _r4_o = ((global::java.net.SocketImplFactory) _r4_o).createSocketImpl();
    label81:;
    ((global::java.net.Socket) _r6_o)._fimpl = (global::java.net.SocketImpl) _r4_o;
    ((global::java.net.Socket) _r6_o)._fproxy = (global::java.net.Proxy) _r7_o;
    return;
    label86:;
    _r2_o = ((global::java.net.InetSocketAddress) _r1_o).getHostName();
    goto label64;
    label91:;
    _r4_o = new global::org.apache.harmony.luni.net.PlainSocketImpl();
    ((global::org.apache.harmony.luni.net.PlainSocketImpl) _r4_o).@this((global::java.net.Proxy) _r7_o);
    goto label81;
//XMLVM_END_WRAPPER[java.net.Socket: void <init>(java.net.Proxy)]
}