<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setter(self, fset):
 """ To be used as a decorator. Will define the decorated method as a write pipe method to be called when client writes to the pipe """

        self.fset = fset
        self.pipe_write = PipeWriteType.PIPE_READ_WRITE
        return self