Transmitting Data
FrameTransmitter
public class FrameTransmitter {
protected void initSystem() throws ModemException;
protected boolean isLoopback();
protected void finalize();
public FrameTransmitter(FrameTransmitterConfig conf) throws ModemException;
public long send(byte[] frame) throws IOException;
public long send(byte[] frame, long length) throws IOException;
public long send(byte[] frame, long offset, long length) throws IOException;
public void setBlocking(long seconds, long nano);
public void setNonBlocking();
public long getFrameLength();
public void close();
public void terminate(int urgency);
}
initSystem
protected void
initSystem()
throws ModemException
isLoopback
protected boolean
isLoopback()
finalize
protected void
finalize()
FrameTransmitter
public
FrameTransmitter(FrameTransmitterConfig conf)
throws ModemException
send
public long
send(byte[] frame)
throws IOException
send
public long
send(byte[] frame,
long length)
throws IOException
send
public long
send(byte[] frame,
long offset,
long length)
throws IOException
setBlocking
public void
setBlocking(long seconds,
long nano)
setNonBlocking
public void
setNonBlocking()
getFrameLength
public long
getFrameLength()
close
terminate
public void
terminate(int urgency)