|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.smart.message.ProviderURLsRequest
public class ProviderURLsRequest
Client asks the list of available provider urls to server.
| Field Summary |
|---|
| Fields inherited from interface org.ow2.carol.cmi.smart.api.Message |
|---|
HEADER_SIZE, INT_BYTE_SIZE |
| Constructor Summary | |
|---|---|
ProviderURLsRequest(java.lang.String protocol)
Builds a new message with the given protocol. |
|
| Method Summary | |
|---|---|
protected java.nio.ByteBuffer |
encode(java.lang.String str)
Encode the given string into a bytebuffer. |
java.nio.ByteBuffer |
getMessage()
Gets a message to send. |
java.nio.ByteBuffer |
getMessageContent()
Gets the content of this message (only this part, not the header). |
byte |
getOperationCode()
Gets the OperationCode of this message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProviderURLsRequest(java.lang.String protocol)
protocol - the given protocol.| Method Detail |
|---|
public java.nio.ByteBuffer getMessage()
getMessage in interface Messagepublic byte getOperationCode()
getOperationCode in interface Messagepublic java.nio.ByteBuffer getMessageContent()
protected java.nio.ByteBuffer encode(java.lang.String str)
str - the given string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||