public class AsynchronousRegistrationMapper extends Object
Constructor and Description |
---|
AsynchronousRegistrationMapper() |
Modifier and Type | Method and Description |
---|---|
void |
addClientMessage(String messageId)
Adds a new messageID that is going to be sent by the client waiting for response.
|
void |
assignFault(String messageId,
Fault fault) |
void |
assignResponse(String messageId,
RegisterResponseType response) |
static AsynchronousRegistrationMapper |
getInstance() |
int |
size() |
FaultOrResponse |
waitForResponse(String messageId,
long millis) |
public static AsynchronousRegistrationMapper getInstance()
public void addClientMessage(String messageId)
messageId
- The messageID hat is going to be sentpublic FaultOrResponse waitForResponse(String messageId, long millis)
public void assignResponse(String messageId, RegisterResponseType response)
public int size()
Copyright © 2021 JBoss by Red Hat. All rights reserved.