import java.net.*;
public class GossipPartner
{
	/*
	Courtney Karppi
	CISC 370 - GossipProtocol
	May 5, 2015
	*/

	private InetSocketAddress gossipPartnerAddress;
	private boolean isAlive;
	private OutgoingPacketQueue queue;

	public GossipPartner(InetSocketAddress gossipPartnerAddress, OutgoingPacketQueue queue)
	{
		this.gossipPartnerAddress = gossipPartnerAddress;
		this.queue = queue;
	}//constructor

	public boolean equals(Object other)
	{
		return this.hashCode() == ((GossipPartner)other).hashCode();
	}//equals

	public InetSocketAddress getGossipPartnerAddress()
	{
		return this.gossipPartnerAddress;
	}//getGossipPartnerAddress

	public int hashCode()
	{
		return this.gossipPartnerAddress.toString().hashCode();
	}//hashcode

	public boolean isAlive()
	{
		return this.isAlive();
	}//isAlive

	public void send(UDPMessage message)
	{
		DatagramSender			datagramSender;
		DatagramSocket			socket;
		SynchronizedPacketQueue queue;

	}//send

}//gossipPartner

@@ -911,39 +911,408 @@
 ;%0A%09%09
-SynchronizedPacketQueue queue;%0A
+OutgoingPacketQueue queue;%0A%0A%09%09try%0A%09%09%7B%0A%09%09%09socket = new DatagramSocket(getGossipPartnerAddress());%0A%09%09%09queue = new OutgoingPacketQueue();%0A%09%09%09queue.enQueue(message.getDatagramPacket());%0A%0A%09%09%09datagramSender = new DatagramSender(socket, queue, UDPMessage.getMaximumPacketSizeInBytes());%0A%09%09%09datagramSender.action(socket, queue);%0A%09%09%7D%0A%09%09catch(SocketException se)%0A%09%09%7B%0A%09%09%09System.out.println(se.getMessage());%0A%09%09%7D
 %0A%09%7D/

Update GossipPartner.java