/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */

#ifdef JCGO_SEPARATED
#define JCGO_116
#include "jcgortl.h"
#include "Main.h"
#endif

#ifdef JCGO_116

#ifdef CHKALL_gnu_java_nio_NIOSocket
#include "jcgobchk.h"
#endif

JCGO_NOSEP_INLINE gnu_java_nio_NIOSocket CFASTCALL
gnu_java_nio_NIOSocket__this__L498l2( gnu_java_nio_NIOSocket This,
 gnu_java_nio_SocketChannelImpl channel )
{
 {
  (java_net_Socket__this__L7wbj6((java_net_Socket)This, (java_net_SocketImpl)(gnu_java_nio_NIOSocketImpl__new__L498l2(
   channel))));
  JCGO_FIELD_NZACCESS(This, channel)= channel;
 }
 return This;
}

JCGO_NOSEP_FRWINL gnu_java_nio_NIOSocket CFASTCALL
gnu_java_nio_NIOSocket__new__L498l2( gnu_java_nio_SocketChannelImpl
 channel )
{
 return gnu_java_nio_NIOSocket__this__L498l2(
  (gnu_java_nio_NIOSocket)jcgo_newObject((jvtable)&gnu_java_nio_NIOSocket_methods),
  channel);
}

JCGO_NOSEP_INLINE java_nio_channels_SocketChannel CFASTCALL
gnu_java_nio_NIOSocket__getChannel__( gnu_java_nio_NIOSocket This
 )
{
 {
  return (java_nio_channels_SocketChannel)JCGO_FIELD_NZACCESS(This,
   channel);
 }
}

JCGO_NOSEP_INLINE jboolean CFASTCALL
gnu_java_nio_NIOSocket__isConnected__( gnu_java_nio_NIOSocket This
 )
{
 {
  jObject jcgo_rcvrL1;
  return (jboolean)(jcgo_rcvrL1= (jObject)JCGO_FIELD_NZACCESS(This,
   channel), JCGO_CALL_FINALF((gnu_java_nio_SocketChannelImpl)jcgo_rcvrL1)
   gnu_java_nio_SocketChannelImpl__isConnected__(
   (gnu_java_nio_SocketChannelImpl)jcgo_rcvrL1));
 }
}

JCGO_NOSEP_DATA CONST struct gnu_java_nio_NIOSocket_methods_s gnu_java_nio_NIOSocket_methods=
{
 JCGO_CLASSREF_OF(gnu_java_nio_NIOSocket__class),
 JCGO_GCJDESCR_INIT(gnu_java_nio_NIOSocket_s, channel)
 OBJT_gnu_java_nio_NIOSocket,
 (JCGO_OBJSIZE_T)sizeof(struct gnu_java_nio_NIOSocket_s),
 NULL,
 JCGO_CLINIT_INIT(0)
 0,
 java_lang_Object__equals__Lo,
 java_lang_Object__hashCode__,
 java_net_Socket__toString__,
 java_lang_Object__finalize__,
 gnu_java_nio_NIOSocket__getChannel__,
 gnu_java_nio_NIOSocket__isConnected__
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct gnu_java_nio_NIOSocket_class_s
 gnu_java_nio_NIOSocket__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&gnu_java_nio_NIOSocket_methods),
  JCGO_STRREF_OF(jcgo_string1_NIOSckt),
  JCGO_CLASSREF_OF(java_net_Socket__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x11
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype27_Object jcgo_array2_NIOSckt=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 26,
 {
  (jbyte)(jchar)103/*'g'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)117/*'u'*/,
   (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/,
   (jbyte)(jchar)118/*'v'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/,
   (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/,
   (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)78/*'N'*/, (jbyte)(jchar)73/*'I'*/,
   (jbyte)(jchar)79/*'O'*/, (jbyte)(jchar)83/*'S'*/, (jbyte)(jchar)111/*'o'*/,
   (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)107/*'k'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)73/*'I'*/, (jbyte)(jchar)109/*'m'*/,
   (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)108/*'l'*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_NIOSckt
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_NIOSckt),
 0, 22, (jint)0xb6a905e1L
};

#ifdef CHKALL_gnu_java_nio_NIOSocket
#include "jcgochke.h"
#endif

#endif
