Package jmri.jmris
Class AbstractRouteServer
- java.lang.Object
-
- jmri.jmris.AbstractRouteServer
-
public abstract class AbstractRouteServer extends java.lang.Object
Abstract interface between the a JMRI route and a network connection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
AbstractRouteServer.RouteListener
-
Constructor Summary
Constructors Constructor Description AbstractRouteServer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addRouteToList(java.lang.String routeName)
void
dispose()
abstract void
parseStatus(java.lang.String statusString)
protected void
removeRouteFromList(java.lang.String routeName)
abstract void
sendErrorStatus(java.lang.String route)
abstract void
sendStatus(java.lang.String route, int Status)
void
setRoute(java.lang.String routeName)
-
-
-
Constructor Detail
-
AbstractRouteServer
public AbstractRouteServer()
-
-
Method Detail
-
sendStatus
public abstract void sendStatus(java.lang.String route, int Status) throws java.io.IOException
- Throws:
java.io.IOException
-
sendErrorStatus
public abstract void sendErrorStatus(java.lang.String route) throws java.io.IOException
- Throws:
java.io.IOException
-
parseStatus
public abstract void parseStatus(java.lang.String statusString) throws JmriException, java.io.IOException
- Throws:
JmriException
java.io.IOException
-
addRouteToList
protected void addRouteToList(java.lang.String routeName)
-
removeRouteFromList
protected void removeRouteFromList(java.lang.String routeName)
-
setRoute
public void setRoute(java.lang.String routeName) throws java.io.IOException
- Throws:
java.io.IOException
-
dispose
public void dispose()
-
-