Skip to content

Instantly share code, notes, and snippets.

@singhrahuldps
Created April 30, 2020 13:57
Show Gist options
  • Save singhrahuldps/e0e1f7a40e6ee2298c2ff175b6ec6500 to your computer and use it in GitHub Desktop.
Save singhrahuldps/e0e1f7a40e6ee2298c2ff175b6ec6500 to your computer and use it in GitHub Desktop.
public interface CommunicationDriver {
void connectDevice(String deviceName);
default void disconnectDevice() {
System.out.println("Device disconnected");
}
void sendFile(String filePath);
void receiveFile();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment