fipaos.mts.httpMTP
Class HTTPTransportService
fipaos.mts.httpMTP.ThreadingAbility
|
+--fipaos.mts.httpMTP.HTTPTransportService
- public class HTTPTransportService
- extends ThreadingAbility
Method Summary |
static void | main(String[] args) |
void | setActive(boolean state) Sets state of whether the service should be running |
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
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.
to Class java.net.ServerSocket
to Class fipaos.mts.httpMTP.CallBack