com.sun.squawk.platform.posix.natives
Class SocketImpl.sockaddr_inImpl
java.lang.Object
com.sun.cldc.jna.Structure
com.sun.cldc.jna.DynamicStructure
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
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 |
SocketImpl.sockaddr_inImpl
protected SocketImpl.sockaddr_inImpl()
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
"For updated information see the Java FRC site"