Package jtermios
Interface JTermios.JTermiosInterface
-
- All Known Implementing Classes:
JTermiosImpl,JTermiosImpl,JTermiosImpl,JTermiosImpl,JTermiosImpl,JTermiosImpl
- Enclosing class:
- JTermios
public static interface JTermios.JTermiosInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJTermios.JTermiosInterface.NativeSize
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanPoll()poll() on Windows has not been implemented and while implemented on Mac OS X, does not work for devices.intcfgetispeed(Termios termios)intcfgetospeed(Termios termios)voidcfmakeraw(Termios termios)intcfsetispeed(Termios termios, int speed)intcfsetospeed(Termios termios, int speed)intclose(int fd)interrno()intfcntl(int fd, int cmd, int arg)List<String>getPortList()StringgetPortNamePattern()intioctl(int fd, int cmd, int... data)JTermios.FDSetnewFDSet()intopen(String s, int t)voidperror(String msg)intpipe(int[] fds)intpoll(Pollfd[] fds, int nfds, int timeout)intread(int fd, byte[] buffer, int len)intselect(int n, JTermios.FDSet read, JTermios.FDSet write, JTermios.FDSet error, TimeVal timeout)intsetspeed(int fd, Termios termios, int speed)voidshutDown()inttcdrain(int fd)inttcflush(int fd, int b)inttcgetattr(int fd, Termios termios)inttcsendbreak(int fd, int duration)inttcsetattr(int fd, int cmd, Termios termios)intwrite(int fd, byte[] buffer, int len)
-
-
-
Method Detail
-
newFDSet
JTermios.FDSet newFDSet()
-
pipe
int pipe(int[] fds)
-
shutDown
void shutDown()
-
errno
int errno()
-
fcntl
int fcntl(int fd, int cmd, int arg)
-
setspeed
int setspeed(int fd, Termios termios, int speed)
-
cfgetispeed
int cfgetispeed(Termios termios)
-
cfgetospeed
int cfgetospeed(Termios termios)
-
cfsetispeed
int cfsetispeed(Termios termios, int speed)
-
cfsetospeed
int cfsetospeed(Termios termios, int speed)
-
tcflush
int tcflush(int fd, int b)
-
tcdrain
int tcdrain(int fd)
-
cfmakeraw
void cfmakeraw(Termios termios)
-
tcgetattr
int tcgetattr(int fd, Termios termios)
-
tcsetattr
int tcsetattr(int fd, int cmd, Termios termios)
-
tcsendbreak
int tcsendbreak(int fd, int duration)
-
open
int open(String s, int t)
-
close
int close(int fd)
-
write
int write(int fd, byte[] buffer, int len)
-
read
int read(int fd, byte[] buffer, int len)
-
ioctl
int ioctl(int fd, int cmd, int... data)
-
select
int select(int n, JTermios.FDSet read, JTermios.FDSet write, JTermios.FDSet error, TimeVal timeout)
-
poll
int poll(Pollfd[] fds, int nfds, int timeout)
-
canPoll
boolean canPoll()
poll() on Windows has not been implemented and while implemented on Mac OS X, does not work for devices.
-
perror
void perror(String msg)
-
getPortNamePattern
String getPortNamePattern()
-
-