@Test public void testStartNoPort() throws Exception { receiver.setRemoteHost(TEST_HOST_NAME); receiver.start(); assertFalse(receiver.isStarted()); int count = lc.getStatusManager().getCount(); Status status = lc.getStatusManager().getCopyOfStatusList().get(count - 1); assertTrue(status.getMessage().contains("port")); }
public void setRemoteHost(String remoteHost) { this.remoteHost = remoteHost; }
SocketReceiver extends ReceiverBase implements Runnable, SocketConnector.ExceptionHandler { public void setRemoteHost(String remoteHost) { this.remoteHost = remoteHost; } }
SocketReceiver extends ReceiverBase implements Runnable, SocketConnector.ExceptionHandler { public void setRemoteHost(String remoteHost) { this.remoteHost = remoteHost; }  }
SocketReceiver extends ReceiverBase implements Runnable, SocketConnector.ExceptionHandler { public void setRemoteHost(String remoteHost) { this.remoteHost = remoteHost; }  void run(); void connectionFailed(SocketConnector connector, Exception ex); void setRemoteHost(String remoteHost); void setPort(int port); void setReconnectionDelay(int reconnectionDelay); void setAcceptConnectionTimeout(int acceptConnectionTimeout); }
SocketReceiver extends ReceiverBase implements Runnable, SocketConnector.ExceptionHandler { public void setRemoteHost(String remoteHost) { this.remoteHost = remoteHost; }  void run(); void connectionFailed(SocketConnector connector, Exception ex); void setRemoteHost(String remoteHost); void setPort(int port); void setReconnectionDelay(int reconnectionDelay); void setAcceptConnectionTimeout(int acceptConnectionTimeout);  }