| Package | Description |
|---|---|
| io.apigee.trireme.kernel.dns | |
| io.apigee.trireme.kernel.fs | |
| io.apigee.trireme.kernel.handles | |
| io.apigee.trireme.kernel.zip |
| Modifier and Type | Method and Description |
|---|---|
void |
DNSResolver.resolve(String name,
String type,
IOCompletionHandler<Wire> onComplete) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicFilesystem.chmod(File f,
String origPath,
int origMode,
int umask,
boolean nofollow) |
void |
AdvancedFilesystem.chmod(File f,
String origPath,
int mode,
int umask,
boolean noFollow) |
void |
BasicFilesystem.chown(File file,
String origPath,
String uid,
String gid,
boolean noFollow) |
void |
AdvancedFilesystem.chown(File file,
String origPath,
String uid,
String gid,
boolean noFollow) |
void |
BasicFilesystem.close(int fd) |
protected AbstractFileHandle |
BasicFilesystem.ensureHandle(int fd) |
protected AbstractFileHandle |
BasicFilesystem.ensureRegularFileHandle(int fd) |
void |
BasicFilesystem.fchmod(int fd,
int mode,
int umask) |
void |
BasicFilesystem.fchown(int fd,
String uid,
String gid,
boolean noFollow) |
FileStats |
BasicFilesystem.fstat(int fd,
boolean noFollow) |
void |
BasicFilesystem.fsync(int fd,
boolean syncMetadata) |
void |
BasicFilesystem.ftruncate(int fd,
long len) |
void |
AdvancedFilesystem.ftruncate(int fd,
long len) |
void |
BasicFilesystem.futimes(int fd,
long atime,
long mtime) |
long |
BasicFilesystem.getPosition(int fd) |
void |
BasicFilesystem.link(File destFile,
String destPath,
File srcFile,
String srcPath) |
void |
AdvancedFilesystem.link(File targetFile,
String targetPath,
File linkFile,
String linkPath) |
void |
BasicFilesystem.mkdir(File file,
String origPath,
int mode,
int umask) |
void |
AdvancedFilesystem.mkdir(File file,
String origPath,
int mode,
int umask)
Create the directory atomically and with the right permissions.
|
int |
BasicFilesystem.open(File path,
String origPath,
int flags,
int mode,
int umask) |
int |
AdvancedFilesystem.open(File fp,
String origPath,
int flags,
int mode,
int umask)
In Java 7 we can open the file in one operation, which makes the atomic operations that NPM
depends on actually work.
|
int |
BasicFilesystem.read(int fd,
ByteBuffer buf,
long pos) |
List<String> |
BasicFilesystem.readdir(File f,
String origPath) |
List<String> |
AdvancedFilesystem.readdir(File f,
String origPath) |
String |
BasicFilesystem.readlink(File file,
String origPath) |
String |
AdvancedFilesystem.readlink(File file,
String origPath) |
void |
BasicFilesystem.rename(File oldFile,
String oldPath,
File newFile,
String newPath) |
void |
AdvancedFilesystem.rename(File oldFile,
String oldPath,
File newFile,
String newPath)
Use Files to attempt an atomic rename.
|
void |
BasicFilesystem.rmdir(File file,
String origPath) |
void |
AdvancedFilesystem.rmdir(File file,
String origPath) |
FileStats |
BasicFilesystem.stat(File f,
String origPath,
boolean noFollow) |
FileStats |
AdvancedFilesystem.stat(File f,
String origPath,
boolean noFollow) |
void |
BasicFilesystem.symlink(File destFile,
String destPath,
File srcFile,
String srcPath) |
void |
AdvancedFilesystem.symlink(File destFile,
String destPath,
File srcFile,
String srcPath) |
void |
BasicFilesystem.unlink(File file,
String origPath) |
void |
AdvancedFilesystem.unlink(File file,
String origPath)
Unlink and return the exactly-correct error messages.
|
long |
BasicFilesystem.updatePosition(int fd,
int delta)
Update the saved position for a file descriptor.
|
void |
BasicFilesystem.utimes(File f,
String origPath,
long atime,
long mtime) |
void |
AdvancedFilesystem.utimes(File f,
String origPath,
long atime,
long mtime) |
int |
BasicFilesystem.write(int fd,
ByteBuffer buf,
long pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
TLSHandle.bind(String address,
int port) |
void |
SocketHandle.bind(String address,
int port) |
void |
NIOSocketHandle.bind(String address,
int port) |
void |
NIODatagramHandle.bind(String address,
int port) |
void |
NetworkPeerPipe.bind(String address,
int port) |
void |
ChildServerHandle.bind(String address,
int port) |
void |
TLSHandle.connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
void |
SocketHandle.connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
void |
NIOSocketHandle.connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
void |
NetworkPeerPipe.connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
void |
ChildServerHandle.connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
void |
TLSHandle.listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
void |
SocketHandle.listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
void |
NIOSocketHandle.listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
void |
NetworkPeerPipe.listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
void |
ChildServerHandle.listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
int |
NIODatagramHandle.send(String host,
int port,
ByteBuffer buf,
IOCompletionHandler<Integer> handler) |
void |
NIODatagramHandle.setBroadcast(boolean on) |
void |
TLSHandle.setKeepAlive(boolean ka) |
void |
SocketHandle.setKeepAlive(boolean nd) |
void |
NIOSocketHandle.setKeepAlive(boolean nd) |
void |
ChildServerHandle.setKeepAlive(boolean nd) |
void |
NIODatagramHandle.setMulticastLoopback(boolean on) |
void |
NIODatagramHandle.setMulticastTtl(int ttl) |
void |
TLSHandle.setNoDelay(boolean nd) |
void |
SocketHandle.setNoDelay(boolean nd) |
void |
NIOSocketHandle.setNoDelay(boolean nd) |
void |
ChildServerHandle.setNoDelay(boolean nd) |
| Constructor and Description |
|---|
NIOSocketHandle(GenericNodeRuntime runtime,
SocketChannel clientChannel) |
| Constructor and Description |
|---|
AdvancedCompressor(int mode,
int level,
int strategy,
ByteBuffer dictionary) |
Compressor(int mode,
int level,
int strategy,
ByteBuffer dictionary) |
Decompressor(int mode,
ByteBuffer dictionary) |
Copyright © 2016 Apigee Corporation. All Rights Reserved.