@Override
	public void handleMessages(Inbox inbox) {
		// TODO Auto-generated method stub
		while (inbox.hasNext()) {
			Message msg = inbox.next();
			
			if (msg instanceof PackHelloOldBetHop) {
				PackHelloOldBetHop a = (PackHelloOldBetHop) msg;
				handlePackHello(a);
			}else if (msg instanceof PackReplyOldBetHop) {
				PackReplyOldBetHop b = (PackReplyOldBetHop) msg;
				handlePackReply(b);
			}
		}
	}