Creates and returns a Permission object of the correct type by
removing it from the front of a BufferedPacket.
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public static DOFPermission create( DOFMarshalContext context, DOFPacket p )
Parameters
- context
- Type: org.opendof.core.oalDOFMarshalContext
The marshalling context. - p
- Type: org.opendof.core.oalDOFPacket
A packet holding a serialized Permission at the front.
Return Value
Type: DOFPermissionA deserialized Permission object.
Exceptions
Exception | Condition |
---|---|
DOFSecurityException | If the permission could not be deserialized. In this case the packet will remain unaffected. |
DOFSecurityException |
Remarks
See Also