Interface AMQPConnection_0_8<C extends AMQPConnection_0_8<C>>
-
- All Superinterfaces:
AMQPConnection<C>,ConfiguredObject<C>,Connection<C>,ContextProvider,Deletable<C>,EventLoggerProvider,PermissionedObject,ProtocolEngine,TaskExecutorProvider,TransportActivity
- All Known Implementing Classes:
AMQPConnection_0_8Impl
public interface AMQPConnection_0_8<C extends AMQPConnection_0_8<C>> extends AMQPConnection<C>, ProtocolEngine, EventLoggerProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.server.transport.AMQPConnection
AMQPConnection.CloseReason
-
-
Field Summary
Fields Modifier and Type Field Description static StringBATCH_LIMITstatic longDEFAULT_BATCH_LIMITstatic booleanDEFAULT_FORCE_MESSAGE_VALIDATIONstatic intDEFAULT_HEARTBEAT_TIMEOUT_FACTORstatic longDEFAULT_HIGH_PREFETCH_LIMITstatic StringFORCE_MESSAGE_VALIDATIONstatic StringHIGH_PREFETCH_LIMITstatic StringPROPERTY_HEARTBEAT_TIMEOUT_FACTOR-
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, 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanchannelAwaitingClosure(int channelId)voidcloseChannel(AMQChannel amqChannel)voidcloseChannelAndWriteFrame(AMQChannel amqChannel, int code, String message)voidcloseChannelOk(int channelId)ClientDeliveryMethodcreateDeliveryMethod(int channelId)intgetBinaryDataLimit()ContextProvidergetContextProvider()intgetHeartbeatDelay()MethodRegistrygetMethodRegistry()ProtocolOutputConvertergetProtocolOutputConverter()ProtocolVersiongetProtocolVersion()ObjectgetReference()booleanignoreAllButCloseOk()booleanisCloseWhenNoRoute()booleanisSendQueueDeleteOkRegardless()voidsendConnectionClose(int errorCode, String message, int channelId)voidsetDeferFlush(boolean batch)voidwriteFrame(AMQDataBlock frame)-
Methods inherited from interface org.apache.qpid.server.transport.AMQPConnection
block, checkAuthorizedMessagePrincipal, closeSessionAsync, createLocalTransaction, decrementTransactionOpenCounter, doOnIOThreadAsync, getAccessControlContextFromSubject, getAddressSpaceName, getAggregateTicker, getAuthorizedPrincipal, getBroker, getConnectionId, getMaxMessageSize, getMessageCompressionThreshold, getOpenTransactions, getPort, getRemoteAddressString, getRemoteContainerName, getRemoteSocketAddress, getSessionModels, getSubject, hasSessionWithName, incrementTransactionBeginCounter, incrementTransactionOpenCounter, incrementTransactionRollbackCounter, isClosing, isConnectionStopped, isIOThread, isTransportBlockedForWriting, notifyWork, notifyWork, popScheduler, pushScheduler, registerMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceived, registerTransactionTickers, sendConnectionCloseAsync, stopConnection, unblock, 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, getSessionCountLimit, 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
clearWork, closed, encryptedTransport, getAggregateTicker, getSubject, hasWork, isTransportBlockedForWriting, notifyWork, processPendingIterator, readerIdle, received, setIOThread, setTransportBlockedForWriting, setWorkListener, writerIdle
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
Methods inherited from interface org.apache.qpid.server.transport.network.TransportActivity
getLastReadTime, getLastWriteTime
-
-
-
-
Field Detail
-
PROPERTY_HEARTBEAT_TIMEOUT_FACTOR
static final String PROPERTY_HEARTBEAT_TIMEOUT_FACTOR
- See Also:
- Constant Field Values
-
DEFAULT_HEARTBEAT_TIMEOUT_FACTOR
static final int DEFAULT_HEARTBEAT_TIMEOUT_FACTOR
- See Also:
- Constant Field Values
-
HIGH_PREFETCH_LIMIT
static final String HIGH_PREFETCH_LIMIT
- See Also:
- Constant Field Values
-
DEFAULT_HIGH_PREFETCH_LIMIT
static final long DEFAULT_HIGH_PREFETCH_LIMIT
- See Also:
- Constant Field Values
-
BATCH_LIMIT
static final String BATCH_LIMIT
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_LIMIT
static final long DEFAULT_BATCH_LIMIT
- See Also:
- Constant Field Values
-
FORCE_MESSAGE_VALIDATION
static final String FORCE_MESSAGE_VALIDATION
- See Also:
- Constant Field Values
-
DEFAULT_FORCE_MESSAGE_VALIDATION
static final boolean DEFAULT_FORCE_MESSAGE_VALIDATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeartbeatDelay
int getHeartbeatDelay()
-
getMethodRegistry
MethodRegistry getMethodRegistry()
-
writeFrame
void writeFrame(AMQDataBlock frame)
-
sendConnectionClose
void sendConnectionClose(int errorCode, String message, int channelId)
-
isCloseWhenNoRoute
boolean isCloseWhenNoRoute()
-
getContextProvider
ContextProvider getContextProvider()
-
closeChannelOk
void closeChannelOk(int channelId)
-
getBinaryDataLimit
int getBinaryDataLimit()
-
ignoreAllButCloseOk
boolean ignoreAllButCloseOk()
-
channelAwaitingClosure
boolean channelAwaitingClosure(int channelId)
-
getProtocolVersion
ProtocolVersion getProtocolVersion()
-
closeChannel
void closeChannel(AMQChannel amqChannel)
-
isSendQueueDeleteOkRegardless
boolean isSendQueueDeleteOkRegardless()
-
closeChannelAndWriteFrame
void closeChannelAndWriteFrame(AMQChannel amqChannel, int code, String message)
-
getProtocolOutputConverter
ProtocolOutputConverter getProtocolOutputConverter()
-
getReference
Object getReference()
-
createDeliveryMethod
ClientDeliveryMethod createDeliveryMethod(int channelId)
-
setDeferFlush
void setDeferFlush(boolean batch)
-
-