Class AbstractProtocolManager<P,I extends BaseInterceptor<P>,C extends RemotingConnection,R extends org.apache.activemq.artemis.core.server.routing.RoutingHandler>
- java.lang.Object
-
- org.apache.activemq.artemis.spi.core.protocol.AbstractProtocolManager<P,I,C,R>
-
- All Implemented Interfaces:
ProtocolManager<I,R>
public abstract class AbstractProtocolManager<P,I extends BaseInterceptor<P>,C extends RemotingConnection,R extends org.apache.activemq.artemis.core.server.routing.RoutingHandler> extends Object implements ProtocolManager<I,R>
-
-
Constructor Summary
Constructors Constructor Description AbstractProtocolManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SimpleString,RoutingType>
getPrefixes()
String
getSecurityDomain()
protected String
invokeInterceptors(List<I> interceptors, P message, C connection)
void
setAnycastPrefix(String anycastPrefix)
void
setMulticastPrefix(String multicastPrefix)
void
setSecurityDomain(String securityDomain)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.spi.core.protocol.ProtocolManager
acceptsNoHandshake, addChannelHandlers, createConnectionEntry, getFactory, getRoutingHandler, handleBuffer, handshake, isProtocol, removeHandler, updateInterceptors, websocketSubprotocolIdentifiers
-
-
-
-
Method Detail
-
invokeInterceptors
protected String invokeInterceptors(List<I> interceptors, P message, C connection)
-
setAnycastPrefix
public void setAnycastPrefix(String anycastPrefix)
- Specified by:
setAnycastPrefix
in interfaceProtocolManager<P,I extends BaseInterceptor<P>>
-
setMulticastPrefix
public void setMulticastPrefix(String multicastPrefix)
- Specified by:
setMulticastPrefix
in interfaceProtocolManager<P,I extends BaseInterceptor<P>>
-
getPrefixes
public Map<SimpleString,RoutingType> getPrefixes()
- Specified by:
getPrefixes
in interfaceProtocolManager<P,I extends BaseInterceptor<P>>
-
getSecurityDomain
public String getSecurityDomain()
- Specified by:
getSecurityDomain
in interfaceProtocolManager<P,I extends BaseInterceptor<P>>
-
setSecurityDomain
public void setSecurityDomain(String securityDomain)
- Specified by:
setSecurityDomain
in interfaceProtocolManager<P,I extends BaseInterceptor<P>>
-
-