private ProcessIdentity getNextTokenSite()
	{
//		int i = mMembers.indexOf(mProcID);
//		if (i+1 >= mMembers.size())
//			return mMembers.get(0);
//		else	
//			return mMembers.get(i+1);
		int i = 0;
		Iterator iterator = mMembers.iterator();
		ProcessIdentity procid;
		System.out.println("get next token site");
		while(iterator.hasNext())
		{
			procid = (ProcessIdentity)iterator.next();
			System.out.println(procid.getPort());
			
		}
		iterator = mMembers.iterator();
		while(iterator.hasNext())
		{
			procid = (ProcessIdentity)iterator.next();
			if (procid.getIp().compareTo(mProcID.getIp()) == 0 &&
					procid.getPort() == mProcID.getPort())
			{
				break;
			}
			i++;
		}
//		if (iterator.hasNext())
//		{
//			return (ProcessIdentity)iterator.next();
//		}else
//		{
//			iterator = mMembers.iterator();
//			return (ProcessIdentity)iterator.next();
//		}
//		System.out.println("index: " + i);
		if (i+1 >= mMembers.size())
			return mMembers.get(0);
		else
			return mMembers.get(i+1);
	}