Skip to content

Instantly share code, notes, and snippets.

@darkfrog26
Created October 26, 2012 19:21
Show Gist options
  • Save darkfrog26/3960873 to your computer and use it in GitHub Desktop.
Save darkfrog26/3960873 to your computer and use it in GitHub Desktop.
import java.util.UUID
trait Communicator {
def id: UUID
final def send(message: Any) = {
// Sends messages to client
}
def receive(message: Any): Unit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment