public object Process(Packet packet, Guid sourceID, Guid targetID, int subPacketType)
{
int seqID = 0;
lock (lockingObject)
{
if (ActiveConnection == null)
{
ActiveConnection = GetConnection();
}
seqID = InsertIntoPacketTable(packet, sourceID, targetID, subPacketType);
}
return seqID;
}
object lockingObject2 = new object();