public class NetIO
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ACK |
static java.lang.String |
flagsList |
static int |
GET |
static int |
HTTP |
static int |
INOUT |
static int |
INPUT |
static int |
MSG |
static int |
MSGR |
static int |
OUTIN |
static int |
OUTPUT |
static int |
RET |
static int |
RMIF |
static int |
RTAB |
static int |
RXBUFSIZE |
static int |
SET |
static int |
THREAD |
static int |
THRSLV |
static int |
TXBUFSIZE |
static int |
UDP |
| Constructor and Description |
|---|
NetIO(boolean useNative) |
| Modifier and Type | Method and Description |
|---|---|
int |
close() |
static int |
cvt12to16(long ptr1,
long ptr2,
int bytes) |
static int |
cvt16to12(long ptr1,
long ptr2,
int bytes) |
int |
file(java.lang.String fname,
java.lang.String aname,
int flags) |
static boolean |
load() |
int |
msg(int chan,
int func,
byte[] buffer,
int bytes,
int flags) |
long |
nioAlloc(int bytes) |
int |
nioClose(int sock) |
int |
nioFile(int sock,
java.lang.String fname,
java.lang.String aname,
int flags) |
int |
nioFree(long vaddr) |
int |
nioMsg(int sock,
int chan,
int func,
byte[] array,
int bytes,
int flags) |
int |
nioOpen(java.lang.String url,
int chans,
int flags) |
int |
nioRecv(int sock,
int chan,
long vaddr,
int bytes,
int flags) |
int |
nioRecvB(int sock,
int chan,
byte[] array,
int off,
int bytes,
int flags) |
int |
nioSend(int sock,
int chan,
long vaddr,
int bytes,
int flags) |
int |
nioSendB(int sock,
int chan,
byte[] array,
int off,
int bytes,
int flags) |
int |
nioSendBank(int sock,
int chns,
int ncpa,
long haddr,
int hlen,
int dlen,
long vaddr,
int bytes,
int flags) |
int |
open(java.lang.String url,
int chans,
int flags) |
int |
recv(int chan,
byte[] buffer,
int off,
int bytes,
int flags) |
int |
recv(int chan,
long vaddr,
int bytes,
int flags) |
int |
send(int chan,
byte[] buffer,
int off,
int bytes,
int flags) |
int |
send(int chan,
long vaddr,
int bytes,
int flags) |
static int |
swap2(long ptr1,
long ptr2,
int bytes) |
public static int RXBUFSIZE
public static int TXBUFSIZE
public static java.lang.String flagsList
public static int INPUT
public static int OUTPUT
public static int INOUT
public static int OUTIN
public static int RMIF
public static int HTTP
public static int RTAB
public static int UDP
public static int THREAD
public static int THRSLV
public static int MSG
public static int SET
public static int GET
public static int RET
public static int ACK
public static int MSGR
public static boolean load()
public int open(java.lang.String url,
int chans,
int flags)
public int send(int chan,
byte[] buffer,
int off,
int bytes,
int flags)
public int recv(int chan,
byte[] buffer,
int off,
int bytes,
int flags)
public int send(int chan,
long vaddr,
int bytes,
int flags)
public int recv(int chan,
long vaddr,
int bytes,
int flags)
public int msg(int chan,
int func,
byte[] buffer,
int bytes,
int flags)
public int file(java.lang.String fname,
java.lang.String aname,
int flags)
public int close()
public int nioOpen(java.lang.String url,
int chans,
int flags)
public int nioClose(int sock)
public long nioAlloc(int bytes)
public int nioFree(long vaddr)
public int nioSendBank(int sock,
int chns,
int ncpa,
long haddr,
int hlen,
int dlen,
long vaddr,
int bytes,
int flags)
public int nioSend(int sock,
int chan,
long vaddr,
int bytes,
int flags)
public int nioRecv(int sock,
int chan,
long vaddr,
int bytes,
int flags)
public int nioSendB(int sock,
int chan,
byte[] array,
int off,
int bytes,
int flags)
public int nioRecvB(int sock,
int chan,
byte[] array,
int off,
int bytes,
int flags)
public int nioMsg(int sock,
int chan,
int func,
byte[] array,
int bytes,
int flags)
public int nioFile(int sock,
java.lang.String fname,
java.lang.String aname,
int flags)
public static int swap2(long ptr1,
long ptr2,
int bytes)
public static int cvt12to16(long ptr1,
long ptr2,
int bytes)
public static int cvt16to12(long ptr1,
long ptr2,
int bytes)