org.apache.activemq.artemis.spi.core.remoting
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.activemq.artemis.spi.core.remoting(Showing top 15 results out of 315)

origin: wildfly/wildfly

@Override
public ClientSessionImpl setSendAcknowledgementHandler(final SendAcknowledgementHandler handler) {
 sessionContext.setSendAcknowledgementHandler(handler);
 return this;
}
origin: wildfly/wildfly

RemotingConnectionImpl(final PacketDecoder packetDecoder,
           final Connection transportConnection,
           final List<Interceptor> incomingInterceptors,
           final List<Interceptor> outgoingInterceptors,
           final Executor executor,
           final SimpleString nodeID) {
 this(packetDecoder, transportConnection, -1, -1, incomingInterceptors, outgoingInterceptors, false, executor, nodeID);
}
origin: wildfly/wildfly

  @Override
  public void run() {
   listener.connectionDestroyed(connectionID);
  }
});
origin: wildfly/wildfly

@Override
public ServerLocator setProtocolManagerFactory(ClientProtocolManagerFactory protocolManagerFactory) {
 this.protocolManagerFactory = protocolManagerFactory;
 protocolManagerFactory.setLocator(this);
 return this;
}
origin: wildfly/wildfly

@Override
public void preHandleFailover(RemotingConnection connection) {
 // We lock the channel to prevent any packets to be added to the re-send
 // cache during the failover process
 //we also do this before the connection fails over to give the session a chance to block for failover
 sessionContext.lockCommunications();
}
origin: wildfly/wildfly

/**
 *
 */
public void send() {
  clientProtocolManager.ping(connectionTTL);
}
origin: wildfly/wildfly

 @Override
 public void run() {
   listener.connectionException(connectionID, me);
 }
});
origin: wildfly/wildfly

@Override
public boolean isWritable(ReadyListener callback) {
 return sessionContext.isWritable(callback);
}
origin: wildfly/wildfly

@Override
public void sendProducerCreditsMessage(final int credits, final SimpleString address) {
 sessionContext.sendProducerCreditsMessage(credits, address);
}
origin: wildfly/wildfly

@Override
public int getVersion() {
 return sessionContext.getServerVersion();
}
origin: wildfly/wildfly

@Override
public void causeExit() {
 clientProtocolManager.stop();
}
origin: wildfly/wildfly

@Override
public String getRemoteAddress() {
 return transportConnection.getRemoteAddress();
}
origin: wildfly/wildfly

@Override
public void addUniqueMetaData(String key, String data) throws ActiveMQException {
 sessionContext.addUniqueMetaData(key, data);
}
origin: wildfly/wildfly

@Override
public Object getID() {
 return transportConnection.getID();
}
origin: wildfly/wildfly

@Override
public ActiveMQBuffer createTransportBuffer(final int size) {
 return transportConnection.createTransportBuffer(size);
}
org.apache.activemq.artemis.spi.core.remoting

Most used classes

  • Connection
    The connection used by a channel to write data to.
  • BaseConnectionLifeCycleListener
    A ConnectionLifeCycleListener is called by the remoting implementation to notify of connection event
  • BufferHandler
    A BufferHandler that will handle buffers received by an acceptor. The Buffer Handler will decode the
  • ClientProtocolManager
  • ClientProtocolManagerFactory
  • Acceptor,
  • Connector,
  • ConnectorFactory,
  • ReadyListener,
  • TopologyResponseHandler,
  • ConsumerContext,
  • AcceptorFactory,
  • ClientConnectionLifeCycleListener,
  • ServerConnectionLifeCycleListener

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)