Skip to content

Commit 0ecd365

Browse files
committed
System Touch
1 parent 65fecfe commit 0ecd365

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎source/connections/ConnectionPoller.java‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ public class ConnectionPoller extends Thread
3131

3232
protected static final Integer READ_WRITE_STANDARD_SOCKET_TIMEOUT = 60*2*1000;
3333

34-
public ConnectionPoller(WebExpress web_express, BaseServer base_server, String host, Integer port)
34+
public ConnectionPoller(BaseServer base_server, String host, Integer port)
3535
{
36-
this.web_express = web_express;
37-
3836
this.base_server = base_server;
3937

4038
this.host = host;

‎source/server/base/BaseServer.java‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import commons.CommonRails;
44
import connections.*;
5+
import server.nitro.WebExpress;
56

67
import java.io.BufferedReader;
78
import java.io.BufferedWriter;
@@ -27,6 +28,7 @@ public abstract class BaseServer extends Thread
2728

2829
public Boolean RUNNING = true;
2930

31+
3032
public CurrentConnections current_connections = new CurrentConnections();
3133

3234
private final RecordedConnections recorded_connections = new RecordedConnections();
@@ -46,6 +48,8 @@ public BaseServer(String host, Integer PORT)
4648

4749
this.PORT = PORT;
4850

51+
this.INHERITOR = this;
52+
4953
this.setName("BasicServer");
5054

5155
try
@@ -186,7 +190,7 @@ public void run()
186190

187191
try
188192
{
189-
connection.thread = new ConnectionPoller(null,this, this.HOST, this.PORT);
193+
connection.thread = new ConnectionPoller(this, this.HOST, this.PORT);
190194

191195
connection.thread.start();
192196
}

‎source/server/nitro/WebExpress.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
public class WebExpress extends BaseServer
1111
{
1212
protected String hash = "0xDA717018470E213F";
13+
1314
public static final String[] TELNET_PROXY_SERVER_ARGS = new String[]{"telnet", "tacobell.phd", "80"};
1415

1516
public static final Boolean TELNET_PROXY = Boolean.FALSE;
@@ -32,6 +33,8 @@ public class WebExpress extends BaseServer
3233

3334
public MessageQueue MESSAGE_QUEUE = new MessageQueue(this);
3435

36+
public BaseServer BASESERVER;
37+
3538
public WebExpress()
3639
{
3740
this.setName("United States D500 WebExpress");

0 commit comments

Comments
 (0)