Access control
This commit is contained in:
parent
9410fd155e
commit
a0e57b4428
@ -55,7 +55,7 @@ public class LocalChannel extends AbstractChannel {
|
||||
private final LocalChannelConfig config;
|
||||
final Queue<MessageEvent> writeBuffer = new LinkedTransferQueue<MessageEvent>();
|
||||
|
||||
protected LocalChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, LocalChannel pairedChannel) {
|
||||
LocalChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, LocalChannel pairedChannel) {
|
||||
super(null, factory, pipeline, sink);
|
||||
this.pairedChannel = pairedChannel;
|
||||
config = new LocalChannelConfig();
|
||||
|
@ -41,7 +41,7 @@ final class LocalServerChannel extends AbstractServerChannel {
|
||||
volatile LocalAddress localAddress;
|
||||
final AtomicBoolean bound = new AtomicBoolean();
|
||||
|
||||
protected LocalServerChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) {
|
||||
LocalServerChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink) {
|
||||
super(factory, pipeline, sink);
|
||||
channelConfig = new LocalChannelConfig();
|
||||
fireChannelOpen(this);
|
||||
|
@ -38,6 +38,10 @@ import org.jboss.netty.channel.MessageEvent;
|
||||
*/
|
||||
final class LocalServerChannelSink extends AbstractChannelSink {
|
||||
|
||||
LocalServerChannelSink() {
|
||||
super();
|
||||
}
|
||||
|
||||
public void eventSunk(ChannelPipeline pipeline, ChannelEvent e) throws Exception {
|
||||
Channel channel = e.getChannel();
|
||||
if (channel instanceof LocalServerChannel) {
|
||||
|
Loading…
Reference in New Issue
Block a user