1 |
/* avc_connect.cpp |
---|
2 |
* Copyright (C) 2005 by Daniel Wagner |
---|
3 |
* |
---|
4 |
* This file is part of FreeBoB. |
---|
5 |
* |
---|
6 |
* FreeBoB is free software; you can redistribute it and/or modify |
---|
7 |
* it under the terms of the GNU General Public License as published by |
---|
8 |
* the Free Software Foundation; either version 2 of the License, or |
---|
9 |
* (at your option) any later version. |
---|
10 |
* FreeBoB is distributed in the hope that it will be useful, |
---|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 |
* GNU General Public License for more details. |
---|
14 |
* |
---|
15 |
* You should have received a copy of the GNU General Public License |
---|
16 |
* along with FreeBoB; if not, write to the Free Software |
---|
17 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
---|
18 |
* MA 02111-1307 USA. |
---|
19 |
*/ |
---|
20 |
|
---|
21 |
#include "avc_connect.h" |
---|
22 |
#include "avc_serialize.h" |
---|
23 |
#include "libieee1394/ieee1394service.h" |
---|
24 |
|
---|
25 |
#include <netinet/in.h> |
---|
26 |
#include <iostream> |
---|
27 |
|
---|
28 |
using namespace std; |
---|
29 |
|
---|
30 |
ConnectCmd::ConnectCmd(Ieee1394Service& ieee1394service) |
---|
31 |
: AVCCommand( ieee1394service, AVC1394_CMD_CONNECT ) |
---|
32 |
{ |
---|
33 |
} |
---|
34 |
|
---|
35 |
ConnectCmd::~ConnectCmd() |
---|
36 |
{ |
---|
37 |
} |
---|
38 |
|
---|
39 |
bool |
---|
40 |
ConnectCmd::serialize( IOSSerialize& se ) |
---|
41 |
{ |
---|
42 |
AVCCommand::serialize( se ); |
---|
43 |
return true; |
---|
44 |
} |
---|
45 |
|
---|
46 |
bool |
---|
47 |
ConnectCmd::deserialize( IISDeserialize& de ) |
---|
48 |
{ |
---|
49 |
AVCCommand::deserialize( de ); |
---|
50 |
return true; |
---|
51 |
} |
---|