public class AMQPConnection_0_8Impl extends AbstractAMQPConnection<AMQPConnection_0_8Impl> implements org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>
| Modifier and Type | Class and Description |
|---|---|
class |
AMQPConnection_0_8Impl.WriteDeliverMethod |
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionPUBLISH_ACTION_MAP_CREATORSECURED_STRING_VALUECLIENT_ID, CLIENT_VERSION, DEFAULT_MAX_MESSAGE_SIZE, DEFAULT_MAX_UNCOMMITTED_IN_MEMORY_SIZE, INCOMING, LOCAL_ADDRESS, MAX_MESSAGE_SIZE, MAX_UNCOMMITTED_IN_MEMORY_SIZE, PORT, PRINCIPAL, PROPERTIES, REMOTE_ADDRESS, REMOTE_PROCESS_NAME, REMOTE_PROCESS_PID, SESSION_COUNT_LIMIT, STATE, TRANSPORTAWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, TYPE| Constructor and Description |
|---|
AMQPConnection_0_8Impl(Broker<?> broker,
ServerNetworkConnection network,
AmqpPort<?> port,
Transport transport,
Protocol protocol,
long connectionId,
AggregateTicker aggregateTicker) |
| Modifier and Type | Method and Description |
|---|---|
void |
block() |
boolean |
channelAwaitingClosure(int channelId) |
void |
clearWork() |
void |
closeChannel(AMQChannel channel) |
void |
closeChannel(int channelId,
org.apache.qpid.protocol.AMQConstant cause,
String message) |
void |
closeChannelAndWriteFrame(AMQChannel channel,
org.apache.qpid.protocol.AMQConstant cause,
String message) |
void |
closeChannelOk(int channelId) |
void |
closed() |
void |
closeNetworkConnection() |
void |
closeSessionAsync(AMQSessionModel<?> session,
org.apache.qpid.protocol.AMQConstant cause,
String message) |
ClientDeliveryMethod |
createDeliveryMethod(int channelId) |
void |
encryptedTransport() |
String |
getAddress() |
int |
getBinaryDataLimit() |
Broker<?> |
getBroker() |
AMQChannel |
getChannel(int channelId) |
org.apache.qpid.framing.ServerChannelMethodProcessor |
getChannelMethodProcessor(int channelId) |
ContextProvider |
getContextProvider() |
long |
getMaxFrameSize() |
long |
getMaximumNumberOfChannels() |
long |
getMaxMessageSize() |
org.apache.qpid.framing.MethodRegistry |
getMethodRegistry() |
Principal |
getPeerPrincipal() |
byte |
getProtocolMajorVersion() |
byte |
getProtocolMinorVersion() |
ProtocolOutputConverter |
getProtocolOutputConverter() |
org.apache.qpid.framing.ProtocolVersion |
getProtocolVersion() |
Object |
getReference() |
org.apache.qpid.framing.MethodRegistry |
getRegistry() |
String |
getRemoteContainerName() |
long |
getSessionCountLimit() |
Collection<? extends AMQChannel> |
getSessionModels() |
boolean |
hasSessionWithName(byte[] name) |
boolean |
hasWork() |
boolean |
ignoreAllButCloseOk() |
boolean |
isCloseWhenNoRoute() |
boolean |
isClosing() |
boolean |
isCompressionSupported() |
protected boolean |
isOrderlyClose() |
boolean |
isSendQueueDeleteOkRegardless() |
boolean |
isTransportBlockedForWriting() |
void |
notifyWork() |
Iterator<Runnable> |
processPendingIterator() |
void |
readerIdle() |
void |
receiveChannelOpen(int channelId) |
void |
receiveConnectionClose(int replyCode,
org.apache.qpid.framing.AMQShortString replyText,
int classId,
int methodId) |
void |
receiveConnectionCloseOk() |
void |
receiveConnectionOpen(org.apache.qpid.framing.AMQShortString virtualHostName,
org.apache.qpid.framing.AMQShortString capabilities,
boolean insist) |
void |
receiveConnectionSecureOk(byte[] response) |
void |
receiveConnectionStartOk(org.apache.qpid.framing.FieldTable clientProperties,
org.apache.qpid.framing.AMQShortString mechanism,
byte[] response,
org.apache.qpid.framing.AMQShortString locale) |
void |
receiveConnectionTuneOk(int channelMax,
long frameMax,
int heartbeat) |
void |
received(org.apache.qpid.bytebuffer.QpidByteBuffer msg) |
void |
receiveHeartbeat() |
void |
receiveProtocolHeader(org.apache.qpid.framing.ProtocolInitiation protocolInitiation) |
void |
sendConnectionClose(org.apache.qpid.protocol.AMQConstant errorCode,
String message,
int channelId) |
void |
sendConnectionCloseAsync(org.apache.qpid.protocol.AMQConstant cause,
String message) |
void |
setCurrentMethod(int classId,
int methodId) |
void |
setDeferFlush(boolean deferFlush) |
void |
setMaxFrameSize(int frameMax) |
void |
setTransportBlockedForWriting(boolean blocked) |
void |
setWorkListener(Action<ProtocolEngine> listener) |
void |
unblock() |
void |
writeFrame(org.apache.qpid.framing.AMQDataBlock frame) |
void |
writerIdle() |
addChildAsync, addDeleteTask, alwaysAllowMessageAssignmentInThisThreadIfItIsIOThread, beforeClose, checkAuthorizedMessagePrincipal, getAccessControlContextFromSubject, getAccessControllerContext, getAddressSpace, getAddressSpaceName, getAggregateTicker, getAuthorizedPrincipal, getBroker, getBytesIn, getBytesOut, getChildExecutor, getClientId, getClientProduct, getClientVersion, getConnectionId, getContextProvider, getEventLogger, getLastIoTime, getLastReadTime, getLastWriteTime, getLocalAddress, getLogSubject, getMaxMessageSize, getMessageCompressionThreshold, getMessagesIn, getMessagesOut, getNetwork, getPort, getPrincipal, getProtocol, getRemoteAddress, getRemoteAddressString, getRemoteProcessName, getRemoteProcessPid, getRemoteSocketAddress, getSessionCount, getSessions, getSubject, getTransport, getTransportInfo, initialiseHeartbeating, isConnectionStopped, isIncoming, isIOThread, isMessageAssignmentSuspended, markTransportClosed, onOpen, performDeleteTasks, popScheduler, pushScheduler, registerMessageDelivered, registerMessageReceived, removeDeleteTask, reserveOutboundMessageSpace, resetStatistics, runAsSubject, sessionAdded, sessionRemoved, setAddressSpace, setClientId, setClientProduct, setClientVersion, setIOThread, setMessageAssignmentSuspended, setRemoteProcessPid, setSubject, stopConnection, toString, updateAccessControllerContext, updateLastReadTime, updateLastWriteTime, updateMaxMessageSizeaddChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, authoriseSetAttributes, awaitChildClassToAttainState, awaitChildClassToAttainState, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, managesChildStorage, newToken, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onResolve, onValidate, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setEncrypter, setState, setUserPreferences, start, startAsync, stop, updateModel, validateChange, validateChildDelete, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysAllowMessageAssignmentInThisThreadIfItIsIOThread, checkAuthorizedMessagePrincipal, getAccessControlContextFromSubject, getAddressSpaceName, getAuthorizedPrincipal, getConnectionId, getRemoteAddressString, getRemoteSocketAddress, isConnectionStopped, isIOThread, isMessageAssignmentSuspended, popScheduler, pushScheduler, registerMessageDelivered, registerMessageReceived, reserveOutboundMessageSpace, resetStatistics, stopConnectiongetAddressSpace, getBytesIn, getBytesOut, getClientId, getClientProduct, getClientVersion, getLastIoTime, getLocalAddress, getMessagesIn, getMessagesOut, getPort, getPrincipal, getProtocol, getRemoteAddress, getRemoteProcessName, getRemoteProcessPid, getSessionCount, getSessions, getTransport, getTransportInfo, isIncomingaddChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, setAttributes, setAttributesAsync, setUserPreferencesgetContextKeys, getContextValue, getContextValuegetTaskExecutoraddDeleteTask, removeDeleteTaskgetEventLoggergetAggregateTicker, getSubject, isMessageAssignmentSuspended, setIOThread, setMessageAssignmentSuspendedpublic AMQPConnection_0_8Impl(Broker<?> broker, ServerNetworkConnection network, AmqpPort<?> port, Transport transport, Protocol protocol, long connectionId, AggregateTicker aggregateTicker)
public boolean isTransportBlockedForWriting()
isTransportBlockedForWriting in interface ProtocolEnginepublic void setTransportBlockedForWriting(boolean blocked)
setTransportBlockedForWriting in interface ProtocolEnginepublic void setMaxFrameSize(int frameMax)
public long getMaxFrameSize()
public boolean isClosing()
public ClientDeliveryMethod createDeliveryMethod(int channelId)
public void received(org.apache.qpid.bytebuffer.QpidByteBuffer msg)
received in interface ProtocolEnginepublic void writeFrame(org.apache.qpid.framing.AMQDataBlock frame)
public AMQChannel getChannel(int channelId)
public boolean channelAwaitingClosure(int channelId)
public long getMaximumNumberOfChannels()
public void closeChannel(AMQChannel channel)
public void closeChannelAndWriteFrame(AMQChannel channel, org.apache.qpid.protocol.AMQConstant cause, String message)
public void closeChannel(int channelId,
org.apache.qpid.protocol.AMQConstant cause,
String message)
public void closeChannelOk(int channelId)
public void sendConnectionClose(org.apache.qpid.protocol.AMQConstant errorCode,
String message,
int channelId)
public void closeNetworkConnection()
public boolean isSendQueueDeleteOkRegardless()
public byte getProtocolMajorVersion()
public org.apache.qpid.framing.ProtocolVersion getProtocolVersion()
getProtocolVersion in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public byte getProtocolMinorVersion()
public org.apache.qpid.framing.MethodRegistry getRegistry()
public ProtocolOutputConverter getProtocolOutputConverter()
public Principal getPeerPrincipal()
public org.apache.qpid.framing.MethodRegistry getMethodRegistry()
public void closed()
closed in interface ProtocolEngineprotected boolean isOrderlyClose()
isOrderlyClose in class AbstractAMQPConnection<AMQPConnection_0_8Impl>public void encryptedTransport()
encryptedTransport in interface ProtocolEnginepublic void readerIdle()
readerIdle in interface ProtocolEnginereaderIdle in interface org.apache.qpid.transport.network.TransportActivitypublic void writerIdle()
writerIdle in interface ProtocolEnginewriterIdle in interface org.apache.qpid.transport.network.TransportActivitypublic long getSessionCountLimit()
getSessionCountLimit in interface Connection<AMQPConnection_0_8Impl>public String getAddress()
public void closeSessionAsync(AMQSessionModel<?> session, org.apache.qpid.protocol.AMQConstant cause, String message)
closeSessionAsync in interface AMQPConnection<AMQPConnection_0_8Impl>public void sendConnectionCloseAsync(org.apache.qpid.protocol.AMQConstant cause,
String message)
sendConnectionCloseAsync in interface AMQPConnection<AMQPConnection_0_8Impl>public void block()
block in interface AMQPConnection<AMQPConnection_0_8Impl>public void unblock()
unblock in interface AMQPConnection<AMQPConnection_0_8Impl>public Collection<? extends AMQChannel> getSessionModels()
getSessionModels in interface AMQPConnection<AMQPConnection_0_8Impl>public String getRemoteContainerName()
getRemoteContainerName in interface AMQPConnection<AMQPConnection_0_8Impl>public void setDeferFlush(boolean deferFlush)
public boolean hasSessionWithName(byte[] name)
hasSessionWithName in interface AMQPConnection<AMQPConnection_0_8Impl>public void receiveChannelOpen(int channelId)
receiveChannelOpen in interface org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionOpen(org.apache.qpid.framing.AMQShortString virtualHostName,
org.apache.qpid.framing.AMQShortString capabilities,
boolean insist)
receiveConnectionOpen in interface org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionClose(int replyCode,
org.apache.qpid.framing.AMQShortString replyText,
int classId,
int methodId)
receiveConnectionClose in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionCloseOk()
receiveConnectionCloseOk in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionSecureOk(byte[] response)
receiveConnectionSecureOk in interface org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionStartOk(org.apache.qpid.framing.FieldTable clientProperties,
org.apache.qpid.framing.AMQShortString mechanism,
byte[] response,
org.apache.qpid.framing.AMQShortString locale)
receiveConnectionStartOk in interface org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveConnectionTuneOk(int channelMax,
long frameMax,
int heartbeat)
receiveConnectionTuneOk in interface org.apache.qpid.framing.ServerMethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public int getBinaryDataLimit()
public Object getReference()
public boolean isCloseWhenNoRoute()
public boolean isCompressionSupported()
public org.apache.qpid.framing.ServerChannelMethodProcessor getChannelMethodProcessor(int channelId)
getChannelMethodProcessor in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveHeartbeat()
receiveHeartbeat in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void receiveProtocolHeader(org.apache.qpid.framing.ProtocolInitiation protocolInitiation)
receiveProtocolHeader in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public void setCurrentMethod(int classId,
int methodId)
setCurrentMethod in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public boolean ignoreAllButCloseOk()
ignoreAllButCloseOk in interface org.apache.qpid.framing.MethodProcessor<org.apache.qpid.framing.ServerChannelMethodProcessor>public boolean hasWork()
hasWork in interface ProtocolEnginepublic void notifyWork()
notifyWork in interface AMQPConnection<AMQPConnection_0_8Impl>notifyWork in interface ProtocolEnginepublic void clearWork()
clearWork in interface ProtocolEnginepublic void setWorkListener(Action<ProtocolEngine> listener)
setWorkListener in interface ProtocolEnginepublic Iterator<Runnable> processPendingIterator()
processPendingIterator in interface ProtocolEnginepublic Broker<?> getBroker()
public ContextProvider getContextProvider()
public long getMaxMessageSize()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.