@Immutable public class InstrumentingController<D extends InstrumentingDirector<D>> extends FsDecoratingController<FsModel,FsController<?>>
Modifier and Type | Field and Description |
---|---|
protected D |
director |
delegate
Constructor and Description |
---|
InstrumentingController(FsController<?> controller,
D director) |
Modifier and Type | Method and Description |
---|---|
InputSocket<?> |
getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
Returns an input socket for reading the contents of the file system
entry addressed by the given name from the file system.
|
OutputSocket<?> |
getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
Returns an output socket for writing the contents of the entry addressed
by the given name to the file system.
|
getEntry, getParent, isExecutable, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, setTime, sync, toString, unlink
getModel, getMountPoint, isMounted, setMounted
equals, hashCode
protected final D extends InstrumentingDirector<D> director
public InstrumentingController(FsController<?> controller, D director)
public InputSocket<?> getInputSocket(FsEntryName name, BitField<FsInputOption> options)
FsController
getInputSocket
in class FsDecoratingController<FsModel,FsController<?>>
name
- the file system entry name.options
- the input options.InputSocket
.public OutputSocket<?> getOutputSocket(FsEntryName name, BitField<FsOutputOption> options, Entry template)
FsController
template
is not null
, then the output entry shall
have as many of its properties copied as reasonable, e.g. the last
modification time.getOutputSocket
in class FsDecoratingController<FsModel,FsController<?>>
name
- a file system entry name.options
- a bit field of output options.template
- a nullable template for the properties of the output
entry.OutputSocket
.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.