Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class Profile

java.lang.Object
  extended byoracle.panama.messaging.transport.Profile


public class Profile
extends java.lang.Object

The profile contains information of a sending request. This class is used by Transport to pass sending request information to a Transport driver. Some attributes like tracking level, reliability level, priority level have well-defined values in class MessageInfo.

See Also:
XDriver, Address, MessageInfo

Constructor Summary
Profile()

Method Summary
int getChunkSize()
Get the message chunk size of the sending request
java.lang.String getEncoding()
Get the messaging encoding on the wire.
int getExpiration()
Get the expiration of the message
java.lang.String getFromAddress()
Get the from-address of the sending request
int getMaxChunks()
Get the maximum message chunks of the sending request
int getPriority()
Get the priority of the message
int getReliability()
Get the reliability level of the sending request
java.lang.String getReplyTo()
Get the reply-to address of the sending request
int getTracking()
Get the tracking level of the sending request
void setChunkSize(int size)
Set the message chunk size of the sending request
void setEncoding(java.lang.String enc)
Set the messaging encoding on the wire.
void setExpiration(int expiration)
Set the expiration of the message
void setFromAddress(java.lang.String fromAddr)
Set the from-address of the sending request
void setMaxChunks(int count)
Set the maximum message chunks of the sending request
void setPriority(int prio)
Set the priority of the message
void setReliability(int rel)
Set the reliability level of the sending request
void setReplyTo(java.lang.String replyTo)
Set the reply-to address of the sending request
void setTracking(int tracking)
Set the tracking level of the sending request

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Profile

public Profile()

Method Detail

getChunkSize

public int getChunkSize()
Get the message chunk size of the sending request
Returns:
the message chunk size of the sending request.

getEncoding

public java.lang.String getEncoding()
Get the messaging encoding on the wire.
Returns:
the messaging encoidng on the wire.

getExpiration

public int getExpiration()
Get the expiration of the message
Returns:
the expiration of the message in seconds

getFromAddress

public java.lang.String getFromAddress()
Get the from-address of the sending request
Returns:
the from-address of the sending request.

getMaxChunks

public int getMaxChunks()
Get the maximum message chunks of the sending request
Returns:
the maximum message chunks of the sending request.

getPriority

public int getPriority()
Get the priority of the message
Returns:
the priority of the message

getReliability

public int getReliability()
Get the reliability level of the sending request
Returns:
the reliability level of the sending request.

getReplyTo

public java.lang.String getReplyTo()
Get the reply-to address of the sending request
Returns:
the reply-to address of the sending request.

getTracking

public int getTracking()
Get the tracking level of the sending request
Returns:
the tracking level of the sending request.

setChunkSize

public void setChunkSize(int size)
Set the message chunk size of the sending request
Parameters:
size - the message chunk size of the sending request.

setEncoding

public void setEncoding(java.lang.String enc)
Set the messaging encoding on the wire.
Parameters:
enc - the messaging encoidng on the wire.

setExpiration

public void setExpiration(int expiration)
Set the expiration of the message
Parameters:
expiration - the expiration of the message in seconds

setFromAddress

public void setFromAddress(java.lang.String fromAddr)
Set the from-address of the sending request
Parameters:
fromAddr - the from-address of the sending request.

setMaxChunks

public void setMaxChunks(int count)
Set the maximum message chunks of the sending request
Parameters:
count - the maximum message chunks of the sending request.

setPriority

public void setPriority(int prio)
Set the priority of the message
Parameters:
prio - the priority of the message

setReliability

public void setReliability(int rel)
Set the reliability level of the sending request
Parameters:
rel - the reliability level of the sending request.

setReplyTo

public void setReplyTo(java.lang.String replyTo)
Set the reply-to address of the sending request
Parameters:
replyTo - the reply-to address of the sending request.

setTracking

public void setTracking(int tracking)
Set the tracking level of the sending request
Parameters:
tracking - the tracking level of the sending request.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.