|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.handle.hdllib.AbstractMessage
net.handle.hdllib.AbstractResponse
net.handle.hdllib.ServiceReferralResponse
public class ServiceReferralResponse
Same format as ResolutionResponse, but allows values to be empty. Used for RC_PREFIX_REFERRAL and RC_SERVICE_REFERRAL.
Field Summary | |
---|---|
byte[] |
handle
|
byte[][] |
values
|
Fields inherited from class net.handle.hdllib.AbstractResponse |
---|
secureStream, socket, stream, streaming |
Constructor Summary | |
---|---|
ServiceReferralResponse(AbstractRequest req,
int responseCode,
byte[] handle,
byte[][] clumps)
|
|
ServiceReferralResponse(int responseCode,
byte[] handle,
byte[][] values)
|
Method Summary | |
---|---|
HandleValue[] |
getHandleValues()
|
boolean |
shouldEncrypt()
|
java.lang.String |
toString()
|
Methods inherited from class net.handle.hdllib.AbstractResponse |
---|
getContinuedResponse, streamResponse, takeDigestOfRequest |
Methods inherited from class net.handle.hdllib.AbstractMessage |
---|
clearBuffers, clone, getEncodedMessage, getEncodedMessageBody, getResponseCodeMessage, hasEqualOrGreaterVersion, hasEqualOrGreaterVersion, setSupportedProtocolVersion, setSupportedProtocolVersion, setSupportedProtocolVersion, signatureIsMac, signMessage, signMessage, takeValuesFrom, verifyMessage, verifyMessage |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] handle
public byte[][] values
Constructor Detail |
---|
public ServiceReferralResponse(int responseCode, byte[] handle, byte[][] values)
public ServiceReferralResponse(AbstractRequest req, int responseCode, byte[] handle, byte[][] clumps) throws HandleException
HandleException
Method Detail |
---|
public HandleValue[] getHandleValues() throws HandleException
HandleException
public java.lang.String toString()
toString
in class AbstractMessage
public boolean shouldEncrypt()
shouldEncrypt
in class AbstractMessage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |