     }
 
     // MARK: Methods to override in subclasses.
-    func writeToSocket() throws -> OverallWriteResult {
+    fileprivate func writeToSocket() throws -> OverallWriteResult {
         fatalError("must be overridden")
     }
 

        }
    }

    public override func registrationFor(interested: IOEvent) -> NIORegistration {
        return .socketChannel(self, interested)
    }


        try super.init(socket: serverSocket, eventLoop: eventLoop, recvAllocator:  AdaptiveRecvByteBufferAllocator())
    }

    override func registrationFor(interested: IOEvent) -> NIORegistration {
        return .serverSocketChannel(self, interested)
    }

