public class CMTS
extends org.pcmm.rcd.impl.AbstractPCMMServer
implements org.pcmm.rcd.ICMTS
| Modifier and Type | Class and Description |
|---|---|
static class |
CMTS.CmStatusYaml
Class to hold the YAML Cable Modem configuration values
|
static class |
CMTS.CmtsYaml
Class to hold configuration settings in a YAML file
|
static class |
CMTS.GateConfigYaml
Class to hold the YAML gate configuration values
|
| Constructor and Description |
|---|
CMTS(int port,
Map<org.pcmm.gates.IGateSpec.Direction,Set<String>> gateConfig,
Map<String,Boolean> cmStatus)
Constructor for starting the server to a pre-defined port number
|
CMTS(Map<org.pcmm.gates.IGateSpec.Direction,Set<String>> gateConfig,
Map<String,Boolean> cmStatus)
Constructor for having the server port automatically assigned
Call getPort() after startServer() is called to determine the port number of the server
|
| Modifier and Type | Method and Description |
|---|---|
protected org.pcmm.rcd.IPCMMServer.IPCMMClientHandler |
getPCMMClientHandler(Socket socket) |
static void |
main(String[] args)
To start a CMTS
|
void |
stopServer() |
getPort, getRecoredState, recordState, startServerpublic CMTS(Map<org.pcmm.gates.IGateSpec.Direction,Set<String>> gateConfig, Map<String,Boolean> cmStatus)
public void stopServer()
stopServer in interface org.pcmm.rcd.IPCMMServerstopServer in class org.pcmm.rcd.impl.AbstractPCMMServerprotected org.pcmm.rcd.IPCMMServer.IPCMMClientHandler getPCMMClientHandler(Socket socket) throws IOException
getPCMMClientHandler in class org.pcmm.rcd.impl.AbstractPCMMServerIOExceptionpublic static void main(String[] args) throws IOException
args - - the arguments which will contain configuration informationIOException - - should the server fail to start for reasons such as port contention.Copyright © 2015. All Rights Reserved.