1 /* 2 * Copyright 2005-2009, Haiku Inc. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Axel Dörfler, axeld@pinc-software.de 7 */ 8 9 10 #include <PortLink.h> 11 12 13 namespace BPrivate { 14 15 16 PortLink::PortLink(port_id send, port_id receive) 17 { 18 fSender = new LinkSender(send); 19 fReceiver = new LinkReceiver(receive); 20 } 21 22 23 PortLink::~PortLink() 24 { 25 delete fReceiver; 26 delete fSender; 27 } 28 29 30 } // namespace BPrivate 31