Structure.ByReference, Structure.ByValue, Structure.StructField| Modifier and Type | Field | Description |
|---|---|---|
byte |
ContextTrackingMode |
Specifies whether the server is to be given a snapshot of the
client's security context (called static tracking), or is to be
continually updated to track changes to the client's security context
(called dynamic tracking).
|
byte |
EffectiveOnly |
Specifies whether the server may enable or disable privileges and
groups that the client's security context may include.
|
static List<String> |
FIELDS |
|
int |
ImpersonationLevel |
Specifies the information given to the server about the client, and
how the server may represent, or impersonate, the client.
|
int |
Length |
Specifies the size, in bytes, of this structure.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE| Constructor | Description |
|---|---|
SECURITY_QUALITY_OF_SERVICE() |
| Modifier and Type | Method | Description |
|---|---|---|
protected List<String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
void |
write() |
Writes the fields of the struct to native memory
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, writeField, writeField, writeFieldpublic int Length
public int ImpersonationLevel
WinNT.SECURITY_IMPERSONATION_LEVEL enumeration type value.public byte ContextTrackingMode
WinNT.SECURITY_STATIC_TRACKING
value specifies static tracking, and the
WinNT.SECURITY_DYNAMIC_TRACKING value specifies dynamic
tracking. Not all communications mechanisms support dynamic tracking;
those that do not will default to static tracking.public byte EffectiveOnly
This is a boolean value. See WinNT.BOOLEAN_TRUE and
WinNT.BOOLEAN_FALSE.
public void write()
Structureprotected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields() is not
guaranteed to be predictable.getFieldOrder in class Structure