Interface ManagedChannel
- All Superinterfaces:
Channel
- All Known Implementing Classes:
GroupChannel
A managed channel interface gives you access to the components of the channels such as senders, receivers,
interceptors etc for configurations purposes
-
Field Summary
Fields inherited from interface org.apache.catalina.tribes.Channel
DEFAULT, MBR_RX_SEQ, MBR_TX_SEQ, SEND_OPTIONS_ASYNCHRONOUS, SEND_OPTIONS_BYTE_MESSAGE, SEND_OPTIONS_DEFAULT, SEND_OPTIONS_MULTICAST, SEND_OPTIONS_SECURE, SEND_OPTIONS_SYNCHRONIZED_ACK, SEND_OPTIONS_UDP, SEND_OPTIONS_USE_ACK, SND_RX_SEQ, SND_TX_SEQ
-
Method Summary
Modifier and TypeMethodDescriptionreturns the channel receiverreturns the channel senderReturns the interceptor stackReturns the membership servicevoid
setChannelReceiver
(ChannelReceiver receiver) Sets the channel receivervoid
setChannelSender
(ChannelSender sender) Sets the channel sendervoid
setMembershipService
(MembershipService service) Sets the membership serviceMethods inherited from interface org.apache.catalina.tribes.Channel
addChannelListener, addInterceptor, addMembershipListener, getLocalMember, getMember, getMembers, getName, getUtilityExecutor, hasMembers, heartbeat, removeChannelListener, removeMembershipListener, send, send, setHeartbeat, setName, setUtilityExecutor, start, stop
-
Method Details
-
setChannelSender
Sets the channel sender- Parameters:
sender
- ChannelSender- See Also:
-
setChannelReceiver
Sets the channel receiver- Parameters:
receiver
- ChannelReceiver- See Also:
-
setMembershipService
Sets the membership service- Parameters:
service
- MembershipService- See Also:
-
getChannelSender
-
getChannelReceiver
ChannelReceiver getChannelReceiver()returns the channel receiver- Returns:
- ChannelReceiver
- See Also:
-
getMembershipService
MembershipService getMembershipService()Returns the membership service- Returns:
- MembershipService
- See Also:
-
getInterceptors
Iterator<ChannelInterceptor> getInterceptors()Returns the interceptor stack- Returns:
- Iterator
- See Also:
-