1
#ifndef P2P_Postable_hxx
2
#define P2P_Postable_hxx
14
virtual void post(std::auto_ptr<T> posted)=0;
22
/* ======================================================================
23
* Copyright (c) 2008, Various contributors to the Resiprocate project
24
* All rights reserved.
26
* Redistribution and use in source and binary forms, with or without
27
* modification, are permitted provided that the following conditions
30
* - Redistributions of source code must retain the above copyright
31
* notice, this list of conditions and the following disclaimer.
33
* - Redistributions in binary form must reproduce the above
34
* copyright notice, this list of conditions and the following
35
* disclaimer in the documentation and/or other materials
36
* provided with the distribution.
38
* - The names of the project's contributors may not be used to
39
* endorse or promote products derived from this software without
40
* specific prior written permission.
42
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
43
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
44
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
45
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
46
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
47
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
48
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
49
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
50
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
52
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
53
* THE POSSIBILITY OF SUCH DAMAGE.
54
*====================================================================== */