Class ServerLink
java.lang.Object
com.swiftmq.impl.amqp.amqp.v01_00_00.ServerLink
- Direct Known Subclasses:
SourceLink
,TargetLink
-
Constructor Summary
ConstructorDescriptionServerLink
(SwiftletContext ctx, SessionHandler mySessionHandler, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
abstract void
protected int
AddressIF
Destination
getName()
AddressIF
protected long
POObject
boolean
isClosed()
boolean
void
setDesiredCapabilities
(Set desiredCapabilities) void
setDynamic
(boolean dynamic) protected void
setHandle
(int handle) void
setLocalAddress
(AddressIF localAddress) void
setOfferedCapabilities
(Set offeredCapabilities) protected void
setRemoteAddress
(AddressIF remoteAddress) protected void
setRemoteHandle
(long remoteHandle) abstract void
settle
(long deliveryId, DeliveryStateIF deliveryState) abstract void
setUsage
(Entity usage) void
setWaitingPO
(POObject waitingPO) void
-
Constructor Details
-
ServerLink
-
-
Method Details
-
getName
-
setHandle
protected void setHandle(int handle) -
getHandle
protected int getHandle() -
setRemoteHandle
protected void setRemoteHandle(long remoteHandle) -
getRemoteAddress
public AddressIF getRemoteAddress() -
setRemoteAddress
protected void setRemoteAddress(AddressIF remoteAddress) -
getRemoteHandle
protected long getRemoteHandle() -
getOfferedCapabilities
-
setOfferedCapabilities
-
getDesiredCapabilities
-
setDesiredCapabilities
-
isClosed
public boolean isClosed() -
setLocalAddress
public void setLocalAddress(AddressIF localAddress) -
getLocalAddress
public AddressIF getLocalAddress() -
getLocalDestination
public Destination getLocalDestination() -
isDynamic
public boolean isDynamic() -
setDynamic
public void setDynamic(boolean dynamic) -
getMySessionHandler
-
getWaitingPO
public POObject getWaitingPO() -
setWaitingPO
public void setWaitingPO(POObject waitingPO) -
verifyLocalAddress
public void verifyLocalAddress() throws AuthenticationException, QueueException, TopicException, InvalidSelectorException- Throws:
AuthenticationException
QueueException
TopicException
InvalidSelectorException
-
settle
public abstract void settle(long deliveryId, DeliveryStateIF deliveryState) throws EndWithErrorException - Throws:
EndWithErrorException
-
setUsage
public abstract void setUsage(Entity usage) -
fillUsage
public abstract void fillUsage() -
close
public void close()
-