|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.core.endpoint.Endpoint
public abstract class Endpoint
Interface that all endpoints have to implement.
| Constructor Summary | |
|---|---|
Endpoint(Executor ex,
java.lang.String _urlContext)
Constructs and gives the name to the plug-in. |
|
| Method Summary | |
|---|---|
Executor |
getExecutor()
Getter. |
java.lang.String |
getPipeId()
Getter. |
int |
getPort()
Getter. |
org.openrdf.model.URI |
getURI()
Returns the URI of this endpoint. |
static boolean |
isInitialized()
Determines if the management interface is initialized. |
void |
setPipeId(java.lang.String pipeId)
Setter. |
void |
setPort(int port)
Setter. |
void |
start(int _port)
Starts the endpoint. |
void |
stop()
Stops the endpoint. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.net.httpserver.HttpHandler |
|---|
handle |
| Constructor Detail |
|---|
public Endpoint(Executor ex,
java.lang.String _urlContext)
ex - the executor_urlContext - the url context| Method Detail |
|---|
public void stop()
throws EndpointShutdownException
EndpointShutdownException - on endpoint shutdown error (if the server could not be
stopped, etc.)
public void start(int _port)
throws EndpointException
_port -
EndpointException - on endpoint initialization errorpublic org.openrdf.model.URI getURI()
public static boolean isInitialized()
public int getPort()
public void setPort(int port)
port - the port to setpublic Executor getExecutor()
public void setPipeId(java.lang.String pipeId)
pipeId - the pipeId to setpublic java.lang.String getPipeId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||