Package ej.wasi
Interface WasiIORegistry
-
- All Known Subinterfaces:
WasiSSLRegistry
public interface WasiIORegistryProvides file-descriptor registration and resolution for a WASI context.Implemented by
WasiContext(package-private) and passed to components outside theej.wasipackage that need to register a newly-opened I/O object or resolve a file descriptor to its backing I/O object (e.g.WasiDirImpl,Selector,WasiSSL).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WasiIOgetIO(int fd)Returns theWasiIOregistered under the given file descriptor, ornullif no I/O is registered there.intregisterIO(WasiIO wio)Registers the givenWasiIOunder a new file descriptor.
-