Class AMQPConnection_0_8Impl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  AMQPConnection_0_8Impl.WriteDeliverMethod  
      • Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject

        org.apache.qpid.server.model.AbstractConfiguredObject.CallableWithArgument<V extends java.lang.Object,​A extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.ChainedListenableFuture<V extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.ChainedSettableFuture<V extends java.lang.Object>, org.apache.qpid.server.model.AbstractConfiguredObject.DuplicateIdException, org.apache.qpid.server.model.AbstractConfiguredObject.DuplicateNameException
      • Nested classes/interfaces inherited from interface org.apache.qpid.server.transport.AMQPConnection

        org.apache.qpid.server.transport.AMQPConnection.CloseReason
    • Field Summary

      • Fields inherited from class org.apache.qpid.server.transport.AbstractAMQPConnection

        PUBLISH_ACTION_MAP_CREATOR
      • Fields inherited from class org.apache.qpid.server.model.AbstractConfiguredObject

        SECURED_STRING_VALUE
      • Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject

        AWAIT_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, STATE, TYPE
      • Fields inherited from interface org.apache.qpid.server.model.Connection

        CLIENT_ID, CLIENT_VERSION, CLOSE_RESPONSE_TIMEOUT, DEFAULT_CLOSE_RESPONSE_TIMEOUT, 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, TRANSPORT
    • Constructor Summary

      Constructors 
      Constructor Description
      AMQPConnection_0_8Impl​(org.apache.qpid.server.model.Broker<?> broker, org.apache.qpid.server.transport.ServerNetworkConnection network, org.apache.qpid.server.model.port.AmqpPort<?> port, org.apache.qpid.server.model.Transport transport, org.apache.qpid.server.model.Protocol protocol, long connectionId, org.apache.qpid.server.transport.AggregateTicker aggregateTicker)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addAsyncTask​(org.apache.qpid.server.util.Action<? super AMQPConnection_0_8Impl> action)  
      void block()  
      boolean channelAwaitingClosure​(int channelId)  
      void clearWork()  
      void closeChannel​(int channelId, int cause, java.lang.String message)  
      void closeChannel​(AMQChannel channel)  
      void closeChannelAndWriteFrame​(AMQChannel channel, int cause, java.lang.String message)  
      void closeChannelOk​(int channelId)  
      void closed()  
      void closeNetworkConnection()  
      void closeSessionAsync​(org.apache.qpid.server.session.AMQPSession<?,​?> session, org.apache.qpid.server.transport.AMQPConnection.CloseReason reason, java.lang.String message)  
      ClientDeliveryMethod createDeliveryMethod​(int channelId)  
      void encryptedTransport()  
      java.lang.String getAddress()  
      int getBinaryDataLimit()  
      AMQChannel getChannel​(int channelId)  
      ServerChannelMethodProcessor getChannelMethodProcessor​(int channelId)  
      protected java.lang.String getCloseCause()  
      int getHeartbeatDelay()  
      long getMaxFrameSize()  
      MethodRegistry getMethodRegistry()  
      java.util.Iterator<org.apache.qpid.server.txn.ServerTransaction> getOpenTransactions()  
      byte getProtocolMajorVersion()  
      byte getProtocolMinorVersion()  
      ProtocolOutputConverter getProtocolOutputConverter()  
      ProtocolVersion getProtocolVersion()  
      java.lang.Object getReference()  
      MethodRegistry getRegistry()  
      java.lang.String getRemoteContainerName()  
      int getSessionCountLimit()  
      java.util.Collection<? extends AMQChannel> getSessionModels()  
      boolean hasSessionWithName​(byte[] name)  
      boolean hasWork()  
      boolean ignoreAllButCloseOk()  
      boolean isCloseWhenNoRoute()  
      boolean isClosing()  
      boolean isCompressionSupported()  
      protected boolean isOpeningInProgress()  
      protected boolean isOrderlyClose()  
      boolean isSendQueueDeleteOkRegardless()  
      boolean isTransportBlockedForWriting()  
      void notifyWork()  
      void notifyWork​(org.apache.qpid.server.session.AMQPSession<?,​?> sessionModel)  
      protected void onReceive​(org.apache.qpid.server.bytebuffer.QpidByteBuffer msg)  
      java.util.Iterator<java.lang.Runnable> processPendingIterator()  
      void readerIdle()  
      void receiveChannelOpen​(int channelId)  
      void receiveConnectionClose​(int replyCode, AMQShortString replyText, int classId, int methodId)  
      void receiveConnectionCloseOk()  
      void receiveConnectionOpen​(AMQShortString virtualHostName, AMQShortString capabilities, boolean insist)  
      void receiveConnectionSecureOk​(byte[] response)  
      void receiveConnectionStartOk​(FieldTable clientProperties, AMQShortString mechanism, byte[] response, AMQShortString locale)  
      void receiveConnectionTuneOk​(int channelMax, long frameMax, int heartbeat)  
      void receiveHeartbeat()  
      void receiveProtocolHeader​(ProtocolInitiation protocolInitiation)  
      void sendConnectionClose​(int errorCode, java.lang.String message, int channelId)  
      void sendConnectionCloseAsync​(org.apache.qpid.server.transport.AMQPConnection.CloseReason reason, java.lang.String description)  
      void setCurrentMethod​(int classId, int methodId)  
      void setDeferFlush​(boolean deferFlush)  
      void setMaxFrameSize​(int frameMax)  
      void setTransportBlockedForWriting​(boolean blocked)  
      void setWorkListener​(org.apache.qpid.server.util.Action<org.apache.qpid.server.transport.ProtocolEngine> listener)  
      void unblock()  
      void writeFrame​(AMQDataBlock frame)  
      void writerIdle()  
      • Methods inherited from class org.apache.qpid.server.transport.AbstractAMQPConnection

        addChildAsync, addDeleteTask, beforeClose, checkAuthorizedMessagePrincipal, createLocalTransaction, decrementTransactionOpenCounter, doOnIOThreadAsync, getAccessControlContextFromSubject, getAccessControllerContext, getAddressSpace, getAddressSpaceName, getAggregateTicker, getAuthorizedPrincipal, getBroker, getBytesIn, getBytesOut, getChildExecutor, getClientId, getClientProduct, getClientVersion, getConnectionId, getContextProvider, getEventLogger, getExternalPrincipal, getLastInboundMessageTime, getLastIoTime, getLastMessageTime, getLastOutboundMessageTime, getLastReadTime, getLastWriteTime, getLocalAddress, getLocalFQDN, getLocalTransactionBegins, getLocalTransactionOpen, getLocalTransactionRollbacks, getLogSubject, getMaxMessageSize, getMaxUncommittedInMemorySize, getMessageCompressionThreshold, getMessagesIn, getMessagesOut, getNetwork, getOldestTransactionStartTime, getPort, getPrincipal, getProtocol, getRemoteAddress, getRemoteAddressString, getRemoteProcessName, getRemoteProcessPid, getRemoteSocketAddress, getSessionCount, getSessions, getSubject, getTransactedMessagesIn, getTransactedMessagesOut, getTransport, getTransportInfo, incrementTransactionBeginCounter, incrementTransactionOpenCounter, incrementTransactionRollbackCounter, initialiseHeartbeating, isConnectionStopped, isIncoming, isIOThread, logCreated, logDeleted, logOperation, markTransportClosed, onClose, onDelete, onOpen, performDeleteTasks, popScheduler, pushScheduler, received, registerMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceived, registerTransactionTickers, removeDeleteTask, resetStatistics, runAsSubject, setAddressSpace, setClientId, setClientProduct, setClientVersion, setIOThread, setRemoteProcessPid, setSubject, stopConnection, toString, unregisterTransactionTickers, updateAccessControllerContext, updateLastMessageInboundTime, updateLastMessageOutboundTime, updateLastWriteTime, updateMaxMessageSize
      • Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject

        addChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, deleteNoChecks, 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, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logRecovered, logUpdated, managesChildStorage, newToken, notifyStateChanged, onCreate, onExceptionInOpen, onResolve, onValidate, open, openAsync, postResolve, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, updateModel, validateChange, validateChildDelete, validateOnCreate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.qpid.server.transport.AMQPConnection

        checkAuthorizedMessagePrincipal, createLocalTransaction, decrementTransactionOpenCounter, doOnIOThreadAsync, getAccessControlContextFromSubject, getAddressSpaceName, getAggregateTicker, getAuthorizedPrincipal, getBroker, getConnectionId, getMaxMessageSize, getMessageCompressionThreshold, getPort, getRemoteAddressString, getRemoteSocketAddress, getSubject, incrementTransactionBeginCounter, incrementTransactionOpenCounter, incrementTransactionRollbackCounter, isConnectionStopped, isIOThread, popScheduler, pushScheduler, registerMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceived, registerTransactionTickers, stopConnection, unregisterTransactionTickers, updateLastMessageInboundTime, updateLastMessageOutboundTime
      • Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject

        addChangeListener, 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, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
      • Methods inherited from interface org.apache.qpid.server.model.Connection

        getAddressSpace, getBytesIn, getBytesOut, getClientId, getClientProduct, getClientVersion, getLastInboundMessageTime, getLastIoTime, getLastMessageTime, getLastOutboundMessageTime, getLocalAddress, getLocalTransactionBegins, getLocalTransactionOpen, getLocalTransactionRollbacks, getMaxUncommittedInMemorySize, getMessagesIn, getMessagesOut, getOldestTransactionStartTime, getPrincipal, getProtocol, getRemoteAddress, getRemoteProcessName, getRemoteProcessPid, getSessionCount, getSessions, getTransactedMessagesIn, getTransactedMessagesOut, getTransport, getTransportInfo, isIncoming, resetStatistics
      • Methods inherited from interface org.apache.qpid.server.model.ContextProvider

        getContextKeys, getContextValue, getContextValue
      • Methods inherited from interface org.apache.qpid.server.util.Deletable

        addDeleteTask, removeDeleteTask
      • Methods inherited from interface org.apache.qpid.server.logging.EventLoggerProvider

        getEventLogger
      • Methods inherited from interface org.apache.qpid.server.transport.ProtocolEngine

        getAggregateTicker, getSubject, received, setIOThread
      • Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider

        getTaskExecutor
      • Methods inherited from interface org.apache.qpid.server.transport.network.TransportActivity

        getLastReadTime, getLastWriteTime