public class AMQPConnection_1_0 extends AbstractAMQPConnection<AMQPConnection_1_0> implements FrameOutputHandler, DescribedTypeConstructorRegistry.Source, ValueWriter.Registry.Source, ErrorHandler, SASLEndpoint, ConnectionHandler
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| Modifier and Type | Method and Description |
|---|---|
void |
block() |
boolean |
canSend() |
void |
clearWork() |
void |
close() |
void |
close(Error error) |
void |
closed() |
boolean |
closedForInput() |
void |
closeSessionAsync(AMQSessionModel<?> session,
org.apache.qpid.protocol.AMQConstant cause,
String message) |
void |
encryptedTransport() |
String |
getAddress() |
AMQPDescribedTypeRegistry |
getDescribedTypeRegistry() |
int |
getMaxFrameSize() |
String |
getRemoteContainerName() |
org.apache.qpid.transport.ByteBufferSender |
getSender() |
long |
getSessionCountLimit() |
Collection<? extends Session_1_0> |
getSessionModels() |
void |
handleError(Error error) |
boolean |
hasSessionWithName(byte[] name) |
boolean |
hasWork() |
void |
initialiseHeartbeating(long writerDelay,
long readerDelay) |
boolean |
isClosed() |
boolean |
isOpen() |
boolean |
isOrderlyClose() |
boolean |
isTransportBlockedForWriting() |
void |
notifyWork() |
Iterator<Runnable> |
processPendingIterator() |
void |
readerIdle() |
void |
receive(short channel,
Object frame) |
void |
receiveAttach(short channel,
Attach attach) |
void |
receiveBegin(short channel,
Begin begin) |
void |
receiveClose(short channel,
Close close) |
void |
received(org.apache.qpid.bytebuffer.QpidByteBuffer msg) |
void |
receiveDetach(short channel,
Detach detach) |
void |
receiveDisposition(short channel,
Disposition disposition) |
void |
receiveEnd(short channel,
End end) |
void |
receiveFlow(short channel,
Flow flow) |
void |
receiveOpen(short channel,
Open open) |
void |
receiveSaslChallenge(SaslChallenge saslChallenge) |
void |
receiveSaslInit(SaslInit saslInit) |
void |
receiveSaslMechanisms(SaslMechanisms saslMechanisms) |
void |
receiveSaslOutcome(SaslOutcome saslOutcome) |
void |
receiveSaslResponse(SaslResponse saslResponse) |
void |
receiveTransfer(short channel,
Transfer transfer) |
void |
send(AMQFrame amqFrame) |
void |
send(AMQFrame amqFrame,
ByteBuffer buf) |
void |
send(short channel,
FrameBody body) |
int |
send(short channel,
FrameBody body,
org.apache.qpid.bytebuffer.QpidByteBuffer payload) |
void |
sendConnectionCloseAsync(org.apache.qpid.protocol.AMQConstant cause,
String message) |
void |
setProperties(Map<Symbol,Object> properties) |
void |
setTransportBlockedForWriting(boolean blocked) |
void |
setWorkListener(Action<ProtocolEngine> listener) |
String |
toString() |
void |
unblock() |
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, 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, updateAccessControllerContext, updateLastReadTime, updateLastWriteTime, updateMaxMessageSizeaddChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, authoriseSetAttributes, awaitChildClassToAttainState, awaitChildClassToAttainState, changeAttribute, changeAttributes, childAdded, childRemoved, 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, waitaddChangeListener, asObjectRecord, authorise, authorise, authorise, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, 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, getContextValuegetTaskExecutorpublic void receiveAttach(short channel,
Attach attach)
receiveAttach in interface ConnectionHandlerpublic void receive(short channel,
Object frame)
receive in interface ConnectionHandlerpublic void receiveSaslChallenge(SaslChallenge saslChallenge)
receiveSaslChallenge in interface SASLEndpointpublic void receiveClose(short channel,
Close close)
receiveClose in interface ConnectionHandlerpublic void receiveSaslMechanisms(SaslMechanisms saslMechanisms)
receiveSaslMechanisms in interface SASLEndpointpublic void receiveSaslResponse(SaslResponse saslResponse)
receiveSaslResponse in interface SASLEndpointpublic AMQPDescribedTypeRegistry getDescribedTypeRegistry()
getDescribedTypeRegistry in interface DescribedTypeConstructorRegistry.SourcegetDescribedTypeRegistry in interface ValueWriter.Registry.Sourcepublic boolean isClosed()
public boolean closedForInput()
closedForInput in interface ConnectionHandlerpublic int send(short channel,
FrameBody body,
org.apache.qpid.bytebuffer.QpidByteBuffer payload)
public boolean isOpen()
public void receiveSaslOutcome(SaslOutcome saslOutcome)
receiveSaslOutcome in interface SASLEndpointpublic void receiveEnd(short channel,
End end)
receiveEnd in interface ConnectionHandlerpublic void receiveDisposition(short channel,
Disposition disposition)
receiveDisposition in interface ConnectionHandlerpublic void receiveBegin(short channel,
Begin begin)
receiveBegin in interface ConnectionHandlerpublic void handleError(Error error)
handleError in interface ConnectionHandlerhandleError in interface ErrorHandlerpublic void receiveTransfer(short channel,
Transfer transfer)
receiveTransfer in interface ConnectionHandlerpublic void receiveFlow(short channel,
Flow flow)
receiveFlow in interface ConnectionHandlerpublic void receiveOpen(short channel,
Open open)
receiveOpen in interface ConnectionHandlerpublic void receiveDetach(short channel,
Detach detach)
receiveDetach in interface ConnectionHandlerpublic void close(Error error)
public void receiveSaslInit(SaslInit saslInit)
receiveSaslInit in interface SASLEndpointpublic int getMaxFrameSize()
getMaxFrameSize in interface ConnectionHandlerpublic org.apache.qpid.transport.ByteBufferSender getSender()
public void writerIdle()
writerIdle in interface ProtocolEnginewriterIdle in interface org.apache.qpid.transport.network.TransportActivitypublic void readerIdle()
readerIdle in interface ProtocolEnginereaderIdle in interface org.apache.qpid.transport.network.TransportActivitypublic void encryptedTransport()
encryptedTransport in interface ProtocolEnginepublic String getAddress()
public void received(org.apache.qpid.bytebuffer.QpidByteBuffer msg)
received in interface ProtocolEnginepublic void closed()
closed in interface ProtocolEnginepublic boolean canSend()
canSend in interface FrameOutputHandlerpublic void send(AMQFrame amqFrame)
send in interface FrameOutputHandlerpublic void send(AMQFrame amqFrame, ByteBuffer buf)
send in interface FrameOutputHandlerpublic void send(short channel,
FrameBody body)
public void close()
close in interface ConfiguredObject<AMQPConnection_1_0>close in interface FrameOutputHandlerclose in class AbstractConfiguredObject<AMQPConnection_1_0>public boolean isTransportBlockedForWriting()
isTransportBlockedForWriting in interface ProtocolEnginepublic void setTransportBlockedForWriting(boolean blocked)
setTransportBlockedForWriting in interface ProtocolEnginepublic Iterator<Runnable> processPendingIterator()
processPendingIterator in interface ProtocolEnginepublic boolean hasWork()
hasWork in interface ProtocolEnginepublic void notifyWork()
notifyWork in interface AMQPConnection<AMQPConnection_1_0>notifyWork in interface ProtocolEnginepublic void clearWork()
clearWork in interface ProtocolEnginepublic void setWorkListener(Action<ProtocolEngine> listener)
setWorkListener in interface ProtocolEnginepublic boolean hasSessionWithName(byte[] name)
hasSessionWithName in interface AMQPConnection<AMQPConnection_1_0>public void sendConnectionCloseAsync(org.apache.qpid.protocol.AMQConstant cause,
String message)
sendConnectionCloseAsync in interface AMQPConnection<AMQPConnection_1_0>public void closeSessionAsync(AMQSessionModel<?> session, org.apache.qpid.protocol.AMQConstant cause, String message)
closeSessionAsync in interface AMQPConnection<AMQPConnection_1_0>public void block()
block in interface AMQPConnection<AMQPConnection_1_0>public String getRemoteContainerName()
getRemoteContainerName in interface AMQPConnection<AMQPConnection_1_0>public Collection<? extends Session_1_0> getSessionModels()
getSessionModels in interface AMQPConnection<AMQPConnection_1_0>public void unblock()
unblock in interface AMQPConnection<AMQPConnection_1_0>public long getSessionCountLimit()
getSessionCountLimit in interface Connection<AMQPConnection_1_0>public boolean isOrderlyClose()
isOrderlyClose in class AbstractAMQPConnection<AMQPConnection_1_0>public String toString()
toString in class AbstractAMQPConnection<AMQPConnection_1_0>public void initialiseHeartbeating(long writerDelay,
long readerDelay)
initialiseHeartbeating in class AbstractAMQPConnection<AMQPConnection_1_0>Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.