|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.smart.message.FactoryNameRequest
public class FactoryNameRequest
Client asks the factory name to the server.
| Field Summary |
|---|
| Fields inherited from interface org.ow2.carol.cmi.smart.api.Message |
|---|
HEADER_SIZE, INT_BYTE_SIZE |
| Constructor Summary | |
|---|---|
FactoryNameRequest(java.lang.String protocol)
Builds a new message with the given name. |
|
| 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 Operation Code of this answer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactoryNameRequest(java.lang.String protocol)
protocol - the given protocol| Method Detail |
|---|
public java.nio.ByteBuffer getMessage()
getMessage in interface Messagepublic java.nio.ByteBuffer getMessageContent()
protected java.nio.ByteBuffer encode(java.lang.String str)
str - the given string
public byte getOperationCode()
getOperationCode in interface Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||