java.lang.Object | +--com.ibm.commerce.messaging.outboundservice.MSIByteBuffer
An implementation of the IByteBuffer and used to create the message content to pass to connectors when sending or receiving messages.
Constructor Summary | |
---|---|
MSIByteBuffer() Constructs the MSIByteBuffer object. |
Method Summary | |
---|---|
void |
addPart(ContentPart part) Adds a new content part to the message. |
boolean |
checkBytes(byte[] arg1) Checks the bytes. |
int |
countParts() Returns the number of content parts in the message. |
byte[] |
getBytes() Returns the content of the message in byte format. |
java.lang.String |
getContentType() |
ContentPart |
getPart(int index) Returns the content part based on the given index. |
void |
setBytes(byte[] arg1) Sets the bytes of the IByteBuffer. |
void |
setContentType(java.lang.String content_type) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public MSIByteBuffer()
Method Detail |
---|
public java.lang.String getContentType()
public void setContentType(java.lang.String content_type)
public void addPart(ContentPart part)
part
- ContentPart The content part.public boolean checkBytes(byte[] arg1)
arg1
- byte[] The byte array.public int countParts()
public byte[] getBytes()
public ContentPart getPart(int index)
index
- int The index of the content part to return.public void setBytes(byte[] arg1)
arg1
- byte[] the byte array.