wt.infoengine
Class Netlib
java.lang.Object
wt.infoengine.Netlib
- public class Netlib
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_DATA
private static final int MSG_DATA
- See Also:
- Constant Field Values
MSG_EOD
private static final int MSG_EOD
- See Also:
- Constant Field Values
MSG_SUCCESS
private static final int MSG_SUCCESS
- See Also:
- Constant Field Values
MSG_FAILURE
private static final int MSG_FAILURE
- See Also:
- Constant Field Values
NET_MSG_DATA
private static byte[] NET_MSG_DATA
NET_MSG_EOD
private static byte[] NET_MSG_EOD
NET_MSG_SUCCESS
private static byte[] NET_MSG_SUCCESS
NET_MSG_FAILURE
private static byte[] NET_MSG_FAILURE
NET_MSG_STATUS
private static byte[] NET_MSG_STATUS
NET_MSG_VERSION
private static byte[] NET_MSG_VERSION
OBJECT_TYPE
private static final int OBJECT_TYPE
- See Also:
- Constant Field Values
STATUS_TYPE
private static final int STATUS_TYPE
- See Also:
- Constant Field Values
STREAM_TYPE
private static final int STREAM_TYPE
- See Also:
- Constant Field Values
MSG_OBJECT_RESPONSE
private static byte[] MSG_OBJECT_RESPONSE
MSG_STATUS_RESPONSE
private static byte[] MSG_STATUS_RESPONSE
MSG_STREAM_RESPONSE
private static byte[] MSG_STREAM_RESPONSE
debug
private boolean debug
input
private DataInputStream input
output
private DataOutputStream output
type
private int type
dlen
private int dlen
data
private byte[] data
Netlib
public Netlib(Socket sock)
debugMode
public boolean debugMode()
debugMode
public boolean debugMode(boolean yn)
ack
public void ack()
throws IOException
- Throws:
IOException
recv
public IeObject recv()
throws IOException
- Throws:
IOException
send
public void send(IeGroup group)
throws IOException
- Throws:
IOException
close
public void close()
length
private int length()
getType
private int getType()
getData
private byte[] getData()
intData
private int intData()
getString
private String getString()
getMsg
private int getMsg()
throws IOException
- Throws:
IOException
putData
public void putData(byte[] arr)
throws IOException
- Throws:
IOException
putData
public void putData(byte[] arr,
int len)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(byte[] arr,
int len)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(byte[] arr)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(Vector list)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(int type,
String str)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(String str)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(StringBuffer buff)
throws IOException
- Throws:
IOException
putMsg
private void putMsg(File file)
throws IOException
- Throws:
IOException