Reintroduce request manager.
[jSite2.git] / src / net / pterodactylus / jsite / core / RequestManager.java
1 /*
2  * jSite-next - RequestManager.java -
3  * Copyright © 2009 David Roden
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program 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 this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 package net.pterodactylus.jsite.core;
21
22 import java.io.IOException;
23
24 /**
25  * Manages requests.
26  *
27  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
28  */
29 public class RequestManager implements NodeListener {
30
31         //
32         // ACTIONS
33         //
34
35         public void load() throws IOException {
36
37         }
38
39         public void save() throws IOException {
40         }
41
42         //
43         // INTERFACE NodeListener
44         //
45
46         /**
47          * {@inheritDoc}
48          */
49         public void nodeAdded(Node node) {
50                 /* TODO */
51         }
52
53         /**
54          * {@inheritDoc}
55          */
56         public void nodeConnected(Node node) {
57                 /* TODO */
58         }
59
60         /**
61          * {@inheritDoc}
62          */
63         public void nodeConnectionFailed(Node node, Throwable cause) {
64                 /* TODO */
65         }
66
67         /**
68          * {@inheritDoc}
69          */
70         public void nodeDisconnected(Node node, Throwable throwable) {
71                 /* TODO */
72         }
73
74         /**
75          * {@inheritDoc}
76          */
77         public void nodeRemoved(Node node) {
78                 /* TODO */
79         }
80
81 }