Beispiel #1
0
 def __call__(self, *args, **kwargs):
     raise AbstractError(self.__call__)
Beispiel #2
0
 def get(self, block=True, timeout=None):
     """Read. Block/timeout are there for Queue compat."""
     raise AbstractError(self.get)
Beispiel #3
0
 def put(self, data, block=True, timeout=None):
     """Write. Block/timeout are there for Queue compat."""
     raise AbstractError(self.put)
Beispiel #4
0
 def call(self, *args, **kwargs):
     raise AbstractError('Not implemented.')