public virtual void run(){ //XMLVM_BEGIN_WRAPPER[com.codename1.io.Socket$1Listener$1: void run()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r5_o = this; _r0_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2sc; _r1_o = new global::com.codename1.io.Socket_2SocketInputStream(); _r2_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2connection; _r3_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2sc; ((global::com.codename1.io.Socket_2SocketInputStream) _r1_o).@this((global::java.lang.Object) _r2_o, (global::com.codename1.io.SocketConnection) _r3_o); _r2_o = new global::com.codename1.io.Socket_2SocketOutputStream(); _r3_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2connection; _r4_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2sc; ((global::com.codename1.io.Socket_2SocketOutputStream) _r2_o).@this((global::java.lang.Object) _r3_o, (global::com.codename1.io.SocketConnection) _r4_o); ((global::com.codename1.io.SocketConnection) _r0_o).connectionEstablished((global::java.io.InputStream) _r1_o, (global::java.io.OutputStream) _r2_o); _r0_o = ((global::com.codename1.io.Socket_21Listener_21) _r5_o)._fval_2sc; _r1.i = 0; ((global::com.codename1.io.SocketConnection) _r0_o).setConnected(0!=_r1.i); return; //XMLVM_END_WRAPPER[com.codename1.io.Socket$1Listener$1: void run()] }
public virtual void run(){ //XMLVM_BEGIN_WRAPPER[com.codename1.io.Socket$1: void run()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r5_o = this; _r1_o = global::com.codename1.io.Util.getImplementation(); _r2_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2host; _r3.i = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2port; _r0_o = ((global::com.codename1.impl.CodenameOneImplementation) _r1_o).connectSocket((global::java.lang.String) _r2_o, (int) _r3.i); if (_r0_o == null) goto label40; _r1_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; _r2.i = 1; ((global::com.codename1.io.SocketConnection) _r1_o).setConnected(0!=_r2.i); _r1_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; _r2_o = new global::com.codename1.io.Socket_2SocketInputStream(); _r3_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; ((global::com.codename1.io.Socket_2SocketInputStream) _r2_o).@this((global::java.lang.Object) _r0_o, (global::com.codename1.io.SocketConnection) _r3_o); _r3_o = new global::com.codename1.io.Socket_2SocketOutputStream(); _r4_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; ((global::com.codename1.io.Socket_2SocketOutputStream) _r3_o).@this((global::java.lang.Object) _r0_o, (global::com.codename1.io.SocketConnection) _r4_o); ((global::com.codename1.io.SocketConnection) _r1_o).connectionEstablished((global::java.io.InputStream) _r2_o, (global::java.io.OutputStream) _r3_o); label39:; return; label40:; _r1_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; _r2.i = 0; ((global::com.codename1.io.SocketConnection) _r1_o).setConnected(0!=_r2.i); if (_r0_o != null) goto label57; _r1_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; _r2.i = -1; // Value=Failed to connect _r3_o = new global::java.lang.String(); ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)70)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 116))})); ((global::com.codename1.io.SocketConnection) _r1_o).connectionError((int) _r2.i, (global::java.lang.String) _r3_o); goto label39; label57:; _r1_o = ((global::com.codename1.io.Socket_21) _r5_o)._fval_2sc; _r2_o = global::com.codename1.io.Util.getImplementation(); _r2.i = ((global::com.codename1.impl.CodenameOneImplementation) _r2_o).getSocketErrorCode((global::java.lang.Object) _r0_o); _r3_o = global::com.codename1.io.Util.getImplementation(); _r3_o = ((global::com.codename1.impl.CodenameOneImplementation) _r3_o).getSocketErrorMessage((global::java.lang.Object) _r0_o); ((global::com.codename1.io.SocketConnection) _r1_o).connectionError((int) _r2.i, (global::java.lang.String) _r3_o); goto label39; //XMLVM_END_WRAPPER[com.codename1.io.Socket$1: void run()] }