public static class EAPMessage.EapMessageBody extends Choice
eapMessageBody
field.Modifier and Type | Class and Description |
---|---|
static class |
EAPMessage.EapMessageBody.Request
Represents the type of the
request alternative. |
static class |
EAPMessage.EapMessageBody.Response
Represents the type of the
response alternative. |
Modifier and Type | Field and Description |
---|---|
static int |
failure_chosen
Identifies the
failure alternative. |
static int |
request_chosen
Identifies the
request alternative. |
static int |
response_chosen
Identifies the
response alternative. |
static int |
success_chosen
Identifies the
success alternative. |
Constructor and Description |
---|
EapMessageBody()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static EAPMessage.EapMessageBody |
createWithFailure(NULL failure)
Creates an instance of the
EapMessageBody with the failure
alternative selected. |
static EAPMessage.EapMessageBody |
createWithRequest(EAPMessage.EapMessageBody.Request request)
Creates an instance of the
EapMessageBody with the request
alternative selected. |
static EAPMessage.EapMessageBody |
createWithResponse(EAPMessage.EapMessageBody.Response response)
Creates an instance of the
EapMessageBody with the response
alternative selected. |
static EAPMessage.EapMessageBody |
createWithSuccess(NULL success)
Creates an instance of the
EapMessageBody with the success
alternative selected. |
NULL |
getFailure()
Returns the value of the
failure alternative. |
EAPMessage.EapMessageBody.Request |
getRequest()
Returns the value of the
request alternative. |
EAPMessage.EapMessageBody.Response |
getResponse()
Returns the value of the
response alternative. |
NULL |
getSuccess()
Returns the value of the
success alternative. |
boolean |
hasFailure()
Reports whether the
failure alternative is selected. |
boolean |
hasRequest()
Reports whether the
request alternative is selected. |
boolean |
hasResponse()
Reports whether the
response alternative is selected. |
boolean |
hasSuccess()
Reports whether the
success alternative is selected. |
void |
setFailure(NULL failure)
Selects the
failure alternative. |
void |
setRequest(EAPMessage.EapMessageBody.Request request)
Selects the
request alternative. |
void |
setResponse(EAPMessage.EapMessageBody.Response response)
Selects the
response alternative. |
void |
setSuccess(NULL success)
Selects the
success alternative. |
clone, equals, getChosenFlag, getChosenValue, hashCode
public static final int request_chosen
request
alternative.public static final int response_chosen
response
alternative.public static final int success_chosen
success
alternative.public static final int failure_chosen
failure
alternative.public static EAPMessage.EapMessageBody createWithRequest(EAPMessage.EapMessageBody.Request request)
EapMessageBody
with the request
alternative selected.request
- the value of the request
alternative.EapMessageBody
class.public boolean hasRequest()
request
alternative is selected.request
alternative is selected.public EAPMessage.EapMessageBody.Request getRequest()
request
alternative.request
alternative or null if the
request
alternative is not selected.public void setRequest(EAPMessage.EapMessageBody.Request request)
request
alternative.request
- the value of the request
alternative.public static EAPMessage.EapMessageBody createWithResponse(EAPMessage.EapMessageBody.Response response)
EapMessageBody
with the response
alternative selected.response
- the value of the response
alternative.EapMessageBody
class.public boolean hasResponse()
response
alternative is selected.response
alternative is selected.public EAPMessage.EapMessageBody.Response getResponse()
response
alternative.response
alternative or null if the
response
alternative is not selected.public void setResponse(EAPMessage.EapMessageBody.Response response)
response
alternative.response
- the value of the response
alternative.public static EAPMessage.EapMessageBody createWithSuccess(NULL success)
EapMessageBody
with the success
alternative selected.success
- the value of the success
alternative.EapMessageBody
class.public boolean hasSuccess()
success
alternative is selected.success
alternative is selected.public NULL getSuccess()
success
alternative.success
alternative or null if the
success
alternative is not selected.public void setSuccess(NULL success)
success
alternative.success
- the value of the success
alternative.public static EAPMessage.EapMessageBody createWithFailure(NULL failure)
EapMessageBody
with the failure
alternative selected.failure
- the value of the failure
alternative.EapMessageBody
class.public boolean hasFailure()
failure
alternative is selected.failure
alternative is selected.public NULL getFailure()
failure
alternative.failure
alternative or null if the
failure
alternative is not selected.public void setFailure(NULL failure)
failure
alternative.failure
- the value of the failure
alternative.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.