public class ConversationUtils extends ConversationUtils2
Modifier and Type | Field and Description |
---|---|
static String |
CONVERSATION_ID
Deprecated.
|
static String |
SERVER_NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
continueConversation(Stub stub,
Map props)
Deprecated.
Continue a conversation on a stub that wasn't originally in the conversation.
|
static String |
getConversationAppVersion(WlMessageContext wlmc)
Deprecated.
|
static String |
getConversationId(Stub stub)
Deprecated.
This method gets the conversation id on the stub.
|
static int |
getConversationMethodBlockTimeout(Stub stub)
Deprecated.
This method gets the previously set block timeout.
|
static Integer |
getConversationVersion(Stub stub)
Deprecated.
This method gets the current conversation version.
|
static void |
renewStub(Stub stub)
Deprecated.
Renew a stub so it can be used to start a new conversation.
|
static void |
setConversationId(Stub stub,
String id)
Deprecated.
This method sets conversation id on the stub.
|
static void |
setConversationMethodBlockTimeout(Stub stub,
int numsecs)
Deprecated.
Set how long a conversational continue method should block while waiting for
the server to assign a conversation id.
|
static void |
setConversationVersionOne(Stub stub)
Deprecated.
Use version one converation (client assigned conversation id)
|
static void |
setConversationVersionTwo(Stub stub)
Deprecated.
Use version two converation (server assigned conversation id) This is the default
when no version property is set.
|
isConversational
public static final String SERVER_NAME
public static final String CONVERSATION_ID
public static String getConversationId(Stub stub) throws ConversationIdNotYetAvailableException
stub
- The jaxrpc stub that's used to carry the conversational invoke.ConversationIdNotYetAvailableException
- The stub is still waiting for server to
assign the conversation id.public static void setConversationId(Stub stub, String id)
stub
- The jaxrpc stub that's used to carry the conversational invoke.id
- The conversation id to be set.public static void setConversationVersionTwo(Stub stub)
stub
- The jaxrpc stub that's used to carry the conversational invoke.public static Integer getConversationVersion(Stub stub)
stub
- The jaxrpc stub that's used to carry the conversational invoke.public static void setConversationMethodBlockTimeout(Stub stub, int numsecs)
stub
- The jaxrpc stub that's used to carry the conversational invoke.numsecs
- The number of seconds to wait.public static int getConversationMethodBlockTimeout(Stub stub)
stub
- The jaxrpc stub that's used to carry the conversational invoke.public static String getConversationAppVersion(WlMessageContext wlmc)
public static void setConversationVersionOne(Stub stub)
stub
- The jaxrpc stub that's used to carry the conversational invoke.public static void renewStub(Stub stub)
stub
- The stub to be renewed.public static void continueConversation(Stub stub, Map props)
stub
- The stub.props
- The properties required to continue a conversation.