public class ChannelWriteRecipe extends Object
The recipe is made up of two parts to make it easy to forward the request to a channel with a different name.
Constructor and Description |
---|
ChannelWriteRecipe(String channelName,
ChannelHandlerWriteSubscription writeSubscription)
Creates a new write recipe for the given channel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getChannelName()
The name of the channel to read.
|
ChannelHandlerWriteSubscription |
getWriteSubscription()
The write subscription parameters.
|
int |
hashCode() |
public ChannelWriteRecipe(String channelName, ChannelHandlerWriteSubscription writeSubscription)
channelName
- the name of the channel to connect towriteSubscription
- the subscription parameters for the writepublic String getChannelName()
public ChannelHandlerWriteSubscription getWriteSubscription()
Copyright © 2010–2015. All rights reserved.