|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsMessage
org.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.SessCreateDestRequest
public final class SessCreateDestRequest
A SessCreateDestRequest
is sent by a Session
for creating a destination.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
SessCreateDestRequest()
Constructs a SessCreateTQRequest instance. |
|
SessCreateDestRequest(byte type)
Constructs a SessCreateTQRequest instance. |
|
SessCreateDestRequest(byte type,
java.lang.String name)
Constructs a SessCreateTQRequest instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getName()
Returns the destination name if any. |
byte |
getType()
Returns the destination type, Queue or Topic, temporary or not. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
getRequestId, getTarget, setRequestId, setTarget, toString, toString |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SessCreateDestRequest(byte type)
SessCreateTQRequest
instance.
public SessCreateDestRequest(byte type, java.lang.String name)
SessCreateTQRequest
instance.
public SessCreateDestRequest()
SessCreateTQRequest
instance.
Method Detail |
---|
public byte getType()
public java.lang.String getName()
protected int getClassId()
getClassId
in class AbstractJmsMessage
AbstractJmsMessage.getClassId()
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsRequest
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsRequest
is
- the stream to read data from in order to restore the object
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |