summaryrefslogtreecommitdiff
path: root/enigma-server/src/main/java/cuchaz/enigma/network/IntegratedEnigmaServer.java
blob: 99e4e99e4c0845f899a471007a13a4ae84ecbeb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cuchaz.enigma.network;

import javax.swing.SwingUtilities;

import cuchaz.enigma.translation.mapping.EntryRemapper;

public class IntegratedEnigmaServer extends EnigmaServer {
	public IntegratedEnigmaServer(byte[] jarChecksum, char[] password, EntryRemapper mappings, int port) {
		super(jarChecksum, password, mappings, port);
	}

	@Override
	protected void runOnThread(Runnable task) {
		SwingUtilities.invokeLater(task);
	}
}