'Write as much as possible of the given data, immediately.
This is called to invoke the lower-level writing functionality, such
as a socket\'s send() method, or a file\'s write(); this method
returns an integer or an exception.  If an integer, it is the number
of bytes written (possibly zero); if an exception, it indicates the
connection was lost.'

def writeSomeData(self, data):

    raise NotImplementedError(('%s    does    not    implement    writeSomeData' % reflect.qual(self.__class__)))
