Back to project page you2peer.
The source code is released under:
Apache License
If you think the Android project you2peer 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 com.u2p.events; /*from w w w .j a v a 2s . c o m*/ import java.net.InetAddress; import java.util.EventObject; public class VoteEvent extends EventObject implements ActivityEvents{ private InetAddress address; private String group,file; private int vote; public VoteEvent(Object source,InetAddress address) { super(source); this.address=address; this.vote=0; } private static final long serialVersionUID = 1L; public void setGroupAndFile(String group,String file){ this.group=group; this.file=file; } public String getGroup(){ return this.group; } public String getFile(){ return this.file; } public void vote(int v){ this.vote=v; } public int getVote(){ return this.vote; } public InetAddress getAddress() { return this.address; } }