"

2013 FRC Java API

"

com.sun.squawk.platform.posix.natives
Class SocketImpl.sockaddr_inImpl

java.lang.Object
  extended by com.sun.cldc.jna.Structure
      extended by com.sun.cldc.jna.DynamicStructure
          extended by com.sun.squawk.platform.posix.natives.SocketImpl.sockaddr_inImpl
Direct Known Subclasses:
Socket.sockaddr_in
Enclosing class:
SocketImpl

public static class SocketImpl.sockaddr_inImpl
extends DynamicStructure


Field Summary
 
Fields inherited from class com.sun.cldc.jna.DynamicStructure
DEBUG, STRUCTURE_SIZE_INDEX
 
Fields inherited from class com.sun.cldc.jna.Structure
backingNativeMemory, NULL
 
Constructor Summary
protected SocketImpl.sockaddr_inImpl()
           
 
Method Summary
 int[] getLayout()
          Return the structure layout used by this class.
 void read()
          Copy the fields of the struct from native memory to the Java fields
 void write()
          Copy the java fields of the struct to native memory from the Java fields
 
Methods inherited from class com.sun.cldc.jna.DynamicStructure
initLayout, size
 
Methods inherited from class com.sun.cldc.jna.Structure
allocateMemory, allocateMemory, clear, freeMemory, getPointer, release, toString, useMemory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketImpl.sockaddr_inImpl

protected SocketImpl.sockaddr_inImpl()
Method Detail

getLayout

public int[] getLayout()
Description copied from class: DynamicStructure
Return the structure layout used by this class. Typical implementations return a static variable that has been initialized with initLayout.

Specified by:
getLayout in class DynamicStructure
Returns:
the layout

read

public void read()
Description copied from class: Structure
Copy the fields of the struct from native memory to the Java fields

Specified by:
read in class Structure

write

public void write()
Description copied from class: Structure
Copy the java fields of the struct to native memory from the Java fields

Specified by:
write in class Structure

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"