Back to project page roodroid.
The source code is released under:
Copyright (c) 2011, Jonathan Perichon & Lucas Gerbeaux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
If you think the Android project roodroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package fr.utbm.roodroid; /*from w w w .ja v a 2 s . c om*/ import java.io.Serializable; /** * PacketClient * Extends the class Packet in order to add the client username. * * @author Jonathan Perichon <jonathan.perichon@gmail.com> * @author Lucas Gerbeaux <lucas.gerbeaux@gmail.com> * */ public class PacketClient extends Packet { private static final long serialVersionUID = 7377325024375188535L; private String id; public PacketClient(String id, TCPCommandType commandType, Serializable o) { super(commandType, o); this.id = id; } public String getId() { return id; } }