* Sim to sim caps for establishing child agents
* Still working out a bug in the libomv event queue, committing what is done for now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2485 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-03-16 18:02:48 +00:00
parent 1506846d36
commit e69157a4af
14 changed files with 472 additions and 101 deletions

View File

@@ -44,14 +44,23 @@ namespace Simian
/// <param name="category">The specified category of the outgoing packet</param>
/// <returns>True to continue sending this packet, otherwise false</returns>
public delegate bool OutgoingPacketCallback(Packet packet, UUID agentID, PacketCategory category);
/// <summary>
/// Triggered when an agent establishes a UDP connection
/// </summary>
/// <param name="agent">Agent that now has a UDP connection</param>
/// <param name="circuitCode">Circuit code that was used to identify the agent
/// during connection establishment</param>
public delegate void AgentConnectionCallback(Agent agent, uint circuitCode);
public interface IUDPProvider
{
event OutgoingPacketCallback OnOutgoingPacket;
event AgentConnectionCallback OnAgentConnection;
void AddClient(Agent agent, IPEndPoint endpoint);
bool RemoveClient(Agent agent);
uint CreateCircuit(Agent agent);
void CreateCircuit(Agent agent, uint circuitCode);
void SendPacket(UUID agentID, Packet packet, PacketCategory category);
void BroadcastPacket(Packet packet, PacketCategory category);