Browse Source

Small changes

Renamed the Trojan class to Client
master
Sogomn 9 years ago
parent
commit
c234dac623
  1. 4
      Ratty/src/de/sogomn/rat/Client.java
  2. 2
      Ratty/src/de/sogomn/rat/Ratty.java

4
Ratty/src/de/sogomn/rat/Trojan.java → Ratty/src/de/sogomn/rat/Client.java

@ -4,11 +4,11 @@ import de.sogomn.rat.packet.IPacket;
import de.sogomn.rat.packet.VoicePacket;
import de.sogomn.rat.util.VoiceRecorder;
public final class Trojan implements IConnectionObserver {
public final class Client implements IConnectionObserver {
private static final int VOICE_BUFFER_SIZE = 1024 << 6;
public Trojan() {
public Client() {
//...
}

2
Ratty/src/de/sogomn/rat/Ratty.java

@ -102,7 +102,7 @@ public final class Ratty {
public static void connectToHost(final String address, final int port) {
final ActiveConnection newClient = new ActiveConnection(address, port);
final Trojan trojan = new Trojan();
final Client trojan = new Client();
if (!newClient.isOpen()) {
try {

Loading…
Cancel
Save