Code Review
/
packetcable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Expanded CMTS emulator to respond properly to gate add requests.
[packetcable.git]
/
packetcable-driver
/
src
/
main
/
java
/
org
/
pcmm
/
rcd
/
IPCMMServer.java
diff --git
a/packetcable-driver/src/main/java/org/pcmm/rcd/IPCMMServer.java
b/packetcable-driver/src/main/java/org/pcmm/rcd/IPCMMServer.java
index 794af06dfaee2a8004af07cab5f70be340caabdc..e27e1ef93e1762c2450a7853505ef39b1c1e84a9 100644
(file)
--- a/
packetcable-driver/src/main/java/org/pcmm/rcd/IPCMMServer.java
+++ b/
packetcable-driver/src/main/java/org/pcmm/rcd/IPCMMServer.java
@@
-1,13
+1,14
@@
-/*
*
- @header@
+/*
+ * (c) 2015 Cable Television Laboratories, Inc. All rights reserved.
*/
*/
-
package org.pcmm.rcd;
import org.pcmm.concurrent.IWorker;
import org.pcmm.state.IStateful;
package org.pcmm.rcd;
import org.pcmm.concurrent.IWorker;
import org.pcmm.state.IStateful;
+import java.io.IOException;
+
/**
* <p>
* As discussed in RFC 2753 [11], the policy management framework underlying
/**
* <p>
* As discussed in RFC 2753 [11], the policy management framework underlying
@@
-64,28
+65,27
@@
import org.pcmm.state.IStateful;
* with scalability and fault-tolerance.
* </p>
* </p>
* with scalability and fault-tolerance.
* </p>
* </p>
- *
- *
*/
public interface IPCMMServer extends IStateful {
/**
*/
public interface IPCMMServer extends IStateful {
/**
- *
+ *
Starts all connections and threads
*/
*/
- void startServer();
+ void startServer()
throws IOException
;
/**
/**
- *
+ *
Stops all connections and threads
*/
void stopServer();
/**
* When a client connects to the server, a handler is needed to manage the
* exchange of the messages between this client and the server.
*/
void stopServer();
/**
* When a client connects to the server, a handler is needed to manage the
* exchange of the messages between this client and the server.
- *
- *
*/
*/
- public static interface IPCMMClientHandler extends IWorker, IPCMMClient {
-
+ interface IPCMMClientHandler extends IWorker, IPCMMClient {
+ /**
+ * Responsible for closing resources such as server connections or threads
+ */
+ void stop();
}
}
}
}