Module com.zeroc.glacier2
Package com.zeroc.Glacier2
Class PermissionsVerifier.CheckPermissionsResult
java.lang.Object
com.zeroc.Glacier2.PermissionsVerifier.CheckPermissionsResult
- Enclosing interface:
- PermissionsVerifier
Holds the result of operation checkPermissions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe reason why access was denied.booleantrueif access is granted,falseotherwise. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CheckPermissionsResult(boolean returnValue, String reason) This constructor makes shallow copies of the results for operation checkPermissions. -
Method Summary
Modifier and TypeMethodDescriptionvoidread(InputStream istr) Unmarshals the result of the checkPermissions operation.voidwrite(OutputStream ostr) Marshals the result for the checkPermissions operation.
-
Field Details
-
returnValue
public boolean returnValuetrueif access is granted,falseotherwise. -
reason
The reason why access was denied.
-
-
Constructor Details
-
CheckPermissionsResult
public CheckPermissionsResult()Default constructor. -
CheckPermissionsResult
This constructor makes shallow copies of the results for operation checkPermissions.- Parameters:
returnValue-trueif access is granted,falseotherwise.reason- The reason why access was denied.
-
-
Method Details
-
write
Marshals the result for the checkPermissions operation.- Parameters:
ostr- the output stream to write this result to
-
read
Unmarshals the result of the checkPermissions operation.- Parameters:
istr- the input stream to read this result from
-