Interface MirrorController
-
public interface MirrorControllerThis represents the contract we will use to send messages to replicas.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAddress(AddressInfo addressInfo)voidcreateQueue(QueueConfiguration queueConfiguration)voiddeleteAddress(AddressInfo addressInfo)voiddeleteQueue(SimpleString addressName, SimpleString queueName)StringgetRemoteMirrorId()voidpostAcknowledge(MessageReference ref, AckReason reason)voidsendMessage(Message message, RoutingContext context, List<MessageReference> refs)
-
-
-
Method Detail
-
addAddress
void addAddress(AddressInfo addressInfo) throws Exception
- Throws:
Exception
-
deleteAddress
void deleteAddress(AddressInfo addressInfo) throws Exception
- Throws:
Exception
-
createQueue
void createQueue(QueueConfiguration queueConfiguration) throws Exception
- Throws:
Exception
-
deleteQueue
void deleteQueue(SimpleString addressName, SimpleString queueName) throws Exception
- Throws:
Exception
-
sendMessage
void sendMessage(Message message, RoutingContext context, List<MessageReference> refs)
-
postAcknowledge
void postAcknowledge(MessageReference ref, AckReason reason) throws Exception
- Throws:
Exception
-
getRemoteMirrorId
String getRemoteMirrorId()
-
-