public class DiskSharedDevice extends SharedDevice
A disk shared device has a name, a driver class and a context for the driver.
Admin, Hidden, ReadOnly, Temporary| Constructor and Description |
|---|
DiskSharedDevice(java.lang.String name,
DeviceInterface iface,
DiskDeviceContext ctx)
Construct a disk share with the specified name and device interface.
|
DiskSharedDevice(java.lang.String name,
DeviceInterface iface,
DiskDeviceContext ctx,
int attrib)
Construct a disk share with the specified name and device interface.
|
| Modifier and Type | Method and Description |
|---|---|
DiskDeviceContext |
getDiskContext()
Return the disk device context
|
DiskInterface |
getDiskInterface()
Return the disk interface
|
addAccessControl, compareTo, createContext, decrementConnectionCount, equals, getAccessControls, getAttributes, getComment, getConfiguration, getContext, getCurrentConnectionCount, getInterface, getMaximumConnectionCount, getName, getType, hasAccessControls, hasComment, hasConfiguration, hashCode, incrementConnectionCount, isAdmin, isHidden, isReadOnly, isTemporary, removeAccessControl, removeAllAccessControls, setAccessControlList, setAttributes, setComment, setConfiguration, setContext, setInterface, setMaximumConnectionCount, setName, setType, toStringpublic DiskSharedDevice(java.lang.String name,
DeviceInterface iface,
DiskDeviceContext ctx)
name - Disk share name.iface - Disk device interface.ctx - Context that will be passed to the device interface.public DiskSharedDevice(java.lang.String name,
DeviceInterface iface,
DiskDeviceContext ctx,
int attrib)
name - java.lang.Stringiface - DeviceInterfacectx - DeviceContextattrib - intpublic final DiskDeviceContext getDiskContext()
public final DiskInterface getDiskInterface()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.