fipaos.mts.httpMTP
Class HTTPTransportService

fipaos.mts.httpMTP.ThreadingAbility
  |
  +--fipaos.mts.httpMTP.HTTPTransportService

public class HTTPTransportService
extends ThreadingAbility


Constructor Summary
HTTPTransportService(int port, CallBack httpCommsRef)
          Sets up the server socket based upon the profile information

Method Summary
 static voidmain(String[] args)
           
 voidsetActive(boolean state)
          Sets state of whether the service should be running

Constructor Detail

HTTPTransportService

public HTTPTransportService(int port, CallBack httpCommsRef)
throws java.io.IOException
Sets up the server socket based upon the profile information
Parameters:
port - The port that the server should listen on.
Throws:
IOException
Method Detail

main

public static void main(String[] args)

setActive

public void setActive(boolean state)
Sets state of whether the service should be running
Parameters:
state - boolean true - service should run
false - service is closed.

Association Links

to Class java.net.ServerSocket

to Class fipaos.mts.httpMTP.CallBack