org.opengts.servers.template
Class TrackServer
java.lang.Object
org.opengts.servers.template.TrackServer
public class TrackServer
- extends java.lang.Object
TrackServer
- This module initializes the various communication
methods used to received data packets from the remote tracking device.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configInit
public static void configInit()
startTrackServer
public static TrackServer startTrackServer(int[] tcpPorts,
int[] udpPorts,
int commandPort)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getInstance
public static TrackServer getInstance()
setTcpIdleTimeout
public static void setTcpIdleTimeout(long timeout)
getTcpIdleTimeout
public static long getTcpIdleTimeout()
setTcpPacketTimeout
public static void setTcpPacketTimeout(long timeout)
getTcpPacketTimeout
public static long getTcpPacketTimeout()
setTcpSessionTimeout
public static void setTcpSessionTimeout(long timeout)
getTcpSessionTimeout
public static long getTcpSessionTimeout()
setUdpIdleTimeout
public static void setUdpIdleTimeout(long timeout)
getUdpIdleTimeout
public static long getUdpIdleTimeout()
setUdpPacketTimeout
public static void setUdpPacketTimeout(long timeout)
getUdpPacketTimeout
public static long getUdpPacketTimeout()
setUdpSessionTimeout
public static void setUdpSessionTimeout(long timeout)
getUdpSessionTimeout
public static long getUdpSessionTimeout()
getServerSocketThread_tcp
public ServerSocketThread getServerSocketThread_tcp(int port)
getUdpDatagramSocket
public java.net.DatagramSocket getUdpDatagramSocket(int port)