Java 类com.rabbitmq.client.ConfirmListener 实例源码

项目:lyra    文件:ChannelHandler.java   
private void handleAdd(String methodName, Object arg) {
  if ("addConfirmListener".equals(methodName))
    confirmListeners.add((ConfirmListener) arg);
  else if ("addFlowListener".equals(methodName))
    flowListeners.add((FlowListener) arg);
  else if ("addReturnListener".equals(methodName))
    returnListeners.add((ReturnListener) arg);
}
项目:lyra    文件:ChannelHandler.java   
private void handleRemove(String methodName, Object arg) {
  if ("removeConfirmListener".equals(methodName))
    confirmListeners.remove((ConfirmListener) arg);
  else if ("removeFlowListener".equals(methodName))
    flowListeners.remove((FlowListener) arg);
  else if ("removeReturnListener".equals(methodName))
    returnListeners.remove((ReturnListener) arg);
}
项目:java-rabbitmq-client    文件:TracingChannel.java   
@Override
public void addConfirmListener(ConfirmListener listener) {
  channel.addConfirmListener(listener);
}
项目:java-rabbitmq-client    文件:TracingChannel.java   
@Override
public ConfirmListener addConfirmListener(ConfirmCallback confirmCallback,
    ConfirmCallback confirmCallback1) {
  return channel.addConfirmListener(confirmCallback, confirmCallback1);
}
项目:java-rabbitmq-client    文件:TracingChannel.java   
@Override
public boolean removeConfirmListener(ConfirmListener listener) {
  return channel.removeConfirmListener(listener);
}
项目:rxrabbit    文件:DefaultChannelFactory.java   
@Override
public void addConfirmListener(ConfirmListener confirmListener) {
    delegate.addConfirmListener(confirmListener);
}
项目:rxrabbit    文件:PublishChannel.java   
/**
 * Add a {@link ConfirmListener}.
 * @param listener the listener to add
 */
void addConfirmListener(ConfirmListener listener);
项目:rabbitmq-ha-client    文件:HaChannel.java   
/**
 * Add a {@link ConfirmListener}.
 * @param listener the listener to add
 */
void addConfirmListener(ConfirmListener listener);
项目:rabbitmq-ha-client    文件:HaChannel.java   
/**
 * Remove a {@link ConfirmListener}.
 * @param listener the listener to remove
 * @return <code><b>true</b></code> if the listener was found and removed,
 * <code><b>false</b></code> otherwise
 */
boolean removeConfirmListener(ConfirmListener listener);