eu.larkc.core.endpoint.push
Class PushEndpoint

java.lang.Object
  extended by eu.larkc.core.endpoint.Endpoint
      extended by eu.larkc.core.endpoint.push.PushEndpoint
All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler

public class PushEndpoint
extends Endpoint

This class implements an endpoint for testing purpose.

Author:
Luka Bradesko

Constructor Summary
PushEndpoint(Executor ex)
          Constructor.
 
Method Summary
 void handle(com.sun.net.httpserver.HttpExchange httpExchange)
           
 
Methods inherited from class eu.larkc.core.endpoint.Endpoint
getExecutor, getPipeId, getPort, getURI, isInitialized, setPipeId, setPort, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushEndpoint

public PushEndpoint(Executor ex)
Constructor. The endpoint has to know in advance which Executor is responsible for incoming queries.

Parameters:
ex - the Executor responsible for this endpoint
Method Detail

handle

public void handle(com.sun.net.httpserver.HttpExchange httpExchange)
            throws java.io.IOException
Throws:
java.io.IOException