-
-
Method Summary
Modifier and Type Method Description boolean
isErrorResponse()
Determines whether this instance represents a STUN error response. boolean
isSuccessResponse()
Determines whether this instance represents a STUN success response. void
setMessageType(char responseType)
Checks whether responseType is a valid response type and if yes sets it as the type of the current instance. -
Methods inherited from class org.ice4j.message.Message
containsAttribute, decode, encode, equals, getAttribute, getAttributeCount, getAttributes, getDataLength, getDataLengthWithoutPadding, getMessageType, getName, getTransactionID, isErrorResponseType, isIndicationType, isRequestType, isResponseType, isSuccessResponseType, putAttribute, removeAttribute, setTransactionID, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
isErrorResponse
boolean isErrorResponse()
Determines whether this instance represents a STUN error response.
-
isSuccessResponse
boolean isSuccessResponse()
Determines whether this instance represents a STUN success response.
-
setMessageType
void setMessageType(char responseType)
Checks whether responseType is a valid response type and if yes sets it as the type of the current instance.
- Parameters:
responseType
- the type to set
-
-
-
-