'Write some data, either directly to the underlying handle or, if TLS
has been started, to the L{TLSMemoryBIOProtocol} for it to encrypt and
send.
@see: L{twisted.internet.interfaces.ITransport.write}'

def write(self, data):

    if self.disconnected:
        return
    if self.TLS:
        self.protocol.write(data)
    else:
        abstract.FileHandle.write(self, data)
