public interface ManagedChannel extends 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
Modifier and Type | Method and Description |
---|---|
ChannelReceiver |
getChannelReceiver()
returns the channel receiver
|
ChannelSender |
getChannelSender()
returns the channel sender
|
Iterator<ChannelInterceptor> |
getInterceptors()
Returns the interceptor stack
|
MembershipService |
getMembershipService()
Returns the membership service
|
void |
setChannelReceiver(ChannelReceiver receiver)
Sets the channel receiver
|
void |
setChannelSender(ChannelSender sender)
Sets the channel sender
|
void |
setMembershipService(MembershipService service)
Sets the membership service
|
addChannelListener, addInterceptor, addMembershipListener, getLocalMember, getMember, getMembers, hasMembers, heartbeat, removeChannelListener, removeMembershipListener, send, send, setHeartbeat, start, stop
void setChannelSender(ChannelSender sender)
sender
- ChannelSenderChannelSender
void setChannelReceiver(ChannelReceiver receiver)
receiver
- ChannelReceiverChannelReceiver
void setMembershipService(MembershipService service)
service
- MembershipServiceMembershipService
ChannelSender getChannelSender()
ChannelSender
ChannelReceiver getChannelReceiver()
ChannelReceiver
MembershipService getMembershipService()
MembershipService
Iterator<ChannelInterceptor> getInterceptors()
Channel.addInterceptor(ChannelInterceptor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.