public class AMQPConnection_0_8Impl extends AbstractAMQPConnection<AMQPConnection_0_8Impl,AMQPConnection_0_8Impl> implements ServerMethodProcessor<ServerChannelMethodProcessor>, AMQPConnection_0_8<AMQPConnection_0_8Impl>
| Modifier and Type | Class and Description |
|---|---|
class |
AMQPConnection_0_8Impl.WriteDeliverMethod |
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionAMQPConnection.CloseReasonPUBLISH_ACTION_MAP_CREATORSECURED_STRING_VALUEBATCH_LIMIT, DEFAULT_BATCH_LIMIT, DEFAULT_HEARTBEAT_TIMEOUT_FACTOR, DEFAULT_HIGH_PREFETCH_LIMIT, HIGH_PREFETCH_LIMIT, PROPERTY_HEARTBEAT_TIMEOUT_FACTORCLIENT_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, 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) |
addChildAsync, addDeleteTask, beforeClose, checkAuthorizedMessagePrincipal, createLocalTransaction, decrementTransactionOpenCounter, doOnIOThreadAsync, getAccessControlContextFromSubject, getAccessControllerContext, getAddressSpace, getAddressSpaceName, getAggregateTicker, getAuthorizedPrincipal, getBroker, getBytesIn, getBytesOut, getChildExecutor, getClientId, getClientProduct, getClientVersion, getConnectionId, getContextProvider, getEventLogger, getExternalPrincipal, getLastIoTime, 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, logOperation, markTransportClosed, onClose, onOpen, performDeleteTasks, popScheduler, pushScheduler, registerMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceived, registerTransactionTickers, removeDeleteTask, runAsSubject, setAddressSpace, setClientId, setClientProduct, setClientVersion, setIOThread, setRemoteProcessPid, setSubject, stopConnection, toString, unregisterTransactionTickers, updateAccessControllerContext, updateLastReadTime, updateLastWriteTime, updateMaxMessageSizeaddChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, 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, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, 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, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContextProvidercheckAuthorizedMessagePrincipal, 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, unregisterTransactionTickersgetAddressSpace, getBytesIn, getBytesOut, getClientId, getClientProduct, getClientVersion, getLastIoTime, getLocalAddress, getLocalTransactionBegins, getLocalTransactionOpen, getLocalTransactionRollbacks, getMaxUncommittedInMemorySize, getMessagesIn, getMessagesOut, getOldestTransactionStartTime, getPrincipal, getProtocol, getRemoteAddress, getRemoteProcessName, getRemoteProcessPid, getSessionCount, getSessions, getTransactedMessagesIn, getTransactedMessagesOut, 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, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferencesgetContextKeys, getContextValue, getContextValuegetTaskExecutoraddDeleteTask, removeDeleteTaskgetEventLoggergetAggregateTicker, getSubject, setIOThreadgetLastReadTime, getLastWriteTimepublic AMQPConnection_0_8Impl(Broker<?> broker, ServerNetworkConnection network, AmqpPort<?> port, Transport transport, Protocol protocol, long connectionId, AggregateTicker aggregateTicker)
public boolean isTransportBlockedForWriting()
isTransportBlockedForWriting in interface AMQPConnection<AMQPConnection_0_8Impl>isTransportBlockedForWriting in interface ProtocolEnginepublic void setTransportBlockedForWriting(boolean blocked)
setTransportBlockedForWriting in interface ProtocolEnginepublic void setMaxFrameSize(int frameMax)
public long getMaxFrameSize()
public boolean isClosing()
isClosing in interface AMQPConnection<AMQPConnection_0_8Impl>public ClientDeliveryMethod createDeliveryMethod(int channelId)
createDeliveryMethod in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void received(QpidByteBuffer msg)
received in interface ProtocolEnginepublic void writeFrame(AMQDataBlock frame)
writeFrame in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public AMQChannel getChannel(int channelId)
public boolean channelAwaitingClosure(int channelId)
channelAwaitingClosure in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void closeChannel(AMQChannel channel)
closeChannel in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void closeChannelAndWriteFrame(AMQChannel channel, int cause, String message)
closeChannelAndWriteFrame in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void closeChannel(int channelId,
int cause,
String message)
public void closeChannelOk(int channelId)
closeChannelOk in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void sendConnectionClose(int errorCode,
String message,
int channelId)
sendConnectionClose in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void closeNetworkConnection()
public boolean isSendQueueDeleteOkRegardless()
isSendQueueDeleteOkRegardless in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public byte getProtocolMajorVersion()
public ProtocolVersion getProtocolVersion()
getProtocolVersion in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>getProtocolVersion in interface MethodProcessor<ServerChannelMethodProcessor>public byte getProtocolMinorVersion()
public MethodRegistry getRegistry()
public ProtocolOutputConverter getProtocolOutputConverter()
getProtocolOutputConverter in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public MethodRegistry getMethodRegistry()
getMethodRegistry in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public void closed()
closed in interface ProtocolEngineprotected boolean isOrderlyClose()
isOrderlyClose in class AbstractAMQPConnection<AMQPConnection_0_8Impl,AMQPConnection_0_8Impl>protected String getCloseCause()
getCloseCause in class AbstractAMQPConnection<AMQPConnection_0_8Impl,AMQPConnection_0_8Impl>public void encryptedTransport()
encryptedTransport in interface ProtocolEnginepublic void readerIdle()
readerIdle in interface TransportActivityreaderIdle in interface ProtocolEnginepublic void writerIdle()
writerIdle in interface TransportActivitywriterIdle in interface ProtocolEnginepublic int getSessionCountLimit()
getSessionCountLimit in interface Connection<AMQPConnection_0_8Impl>public int getHeartbeatDelay()
getHeartbeatDelay in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public String getAddress()
public void closeSessionAsync(AMQPSession<?,?> session, AMQPConnection.CloseReason reason, String message)
closeSessionAsync in interface AMQPConnection<AMQPConnection_0_8Impl>public void sendConnectionCloseAsync(AMQPConnection.CloseReason reason, String description)
sendConnectionCloseAsync in interface AMQPConnection<AMQPConnection_0_8Impl>protected void addAsyncTask(Action<? super AMQPConnection_0_8Impl> action)
addAsyncTask in class AbstractAMQPConnection<AMQPConnection_0_8Impl,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)
setDeferFlush in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public boolean hasSessionWithName(byte[] name)
hasSessionWithName in interface AMQPConnection<AMQPConnection_0_8Impl>public Iterator<ServerTransaction> getOpenTransactions()
getOpenTransactions in interface AMQPConnection<AMQPConnection_0_8Impl>public void receiveChannelOpen(int channelId)
receiveChannelOpen in interface ServerMethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionOpen(AMQShortString virtualHostName, AMQShortString capabilities, boolean insist)
receiveConnectionOpen in interface ServerMethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionClose(int replyCode,
AMQShortString replyText,
int classId,
int methodId)
receiveConnectionClose in interface MethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionCloseOk()
receiveConnectionCloseOk in interface MethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionSecureOk(byte[] response)
receiveConnectionSecureOk in interface ServerMethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionStartOk(FieldTable clientProperties, AMQShortString mechanism, byte[] response, AMQShortString locale)
receiveConnectionStartOk in interface ServerMethodProcessor<ServerChannelMethodProcessor>public void receiveConnectionTuneOk(int channelMax,
long frameMax,
int heartbeat)
receiveConnectionTuneOk in interface ServerMethodProcessor<ServerChannelMethodProcessor>public int getBinaryDataLimit()
getBinaryDataLimit in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public Object getReference()
getReference in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public boolean isCloseWhenNoRoute()
isCloseWhenNoRoute in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>public boolean isCompressionSupported()
public ServerChannelMethodProcessor getChannelMethodProcessor(int channelId)
getChannelMethodProcessor in interface MethodProcessor<ServerChannelMethodProcessor>public void receiveHeartbeat()
receiveHeartbeat in interface MethodProcessor<ServerChannelMethodProcessor>public void receiveProtocolHeader(ProtocolInitiation protocolInitiation)
receiveProtocolHeader in interface MethodProcessor<ServerChannelMethodProcessor>public void setCurrentMethod(int classId,
int methodId)
setCurrentMethod in interface MethodProcessor<ServerChannelMethodProcessor>public boolean ignoreAllButCloseOk()
ignoreAllButCloseOk in interface AMQPConnection_0_8<AMQPConnection_0_8Impl>ignoreAllButCloseOk in interface MethodProcessor<ServerChannelMethodProcessor>public boolean hasWork()
hasWork in interface ProtocolEnginepublic void notifyWork()
notifyWork in interface AMQPConnection<AMQPConnection_0_8Impl>notifyWork in interface ProtocolEnginepublic void notifyWork(AMQPSession<?,?> sessionModel)
notifyWork in interface AMQPConnection<AMQPConnection_0_8Impl>public void clearWork()
clearWork in interface ProtocolEnginepublic void setWorkListener(Action<ProtocolEngine> listener)
setWorkListener in interface ProtocolEnginepublic Iterator<Runnable> processPendingIterator()
processPendingIterator in interface ProtocolEngineprotected boolean isOpeningInProgress()
isOpeningInProgress in class AbstractAMQPConnection<AMQPConnection_0_8Impl,AMQPConnection_0_8Impl>Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.