mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
revert introduction of some in arguments
This commit is contained in:
@@ -610,7 +610,7 @@ namespace OpenSim.Framework.Console
|
||||
|
||||
// Check if there is anything to send. Return true if this client has
|
||||
// lines pending.
|
||||
protected bool HasEvents(in UUID RequestID, in UUID sessionID)
|
||||
protected bool HasEvents(UUID RequestID, UUID sessionID)
|
||||
{
|
||||
ConsoleConnection c = null;
|
||||
|
||||
@@ -627,7 +627,7 @@ namespace OpenSim.Framework.Console
|
||||
}
|
||||
|
||||
// Send all pending output to the client.
|
||||
protected Hashtable GetEvents(in UUID RequestID, in UUID sessionID)
|
||||
protected Hashtable GetEvents(UUID RequestID, UUID sessionID)
|
||||
{
|
||||
// Find the connection that goes with this client.
|
||||
ConsoleConnection c = null;
|
||||
@@ -716,7 +716,7 @@ namespace OpenSim.Framework.Console
|
||||
|
||||
// This is really just a no-op. It generates what is sent
|
||||
// to the client if the poll times out without any events.
|
||||
protected Hashtable NoEvents(in UUID RequestID, in UUID id)
|
||||
protected Hashtable NoEvents(UUID RequestID, UUID id)
|
||||
{
|
||||
Hashtable result = new Hashtable();
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ namespace OSHttpServer.Parser
|
||||
return handledBytes;
|
||||
}
|
||||
|
||||
static int GetLineBreakSize(in byte[] buffer, int offset)
|
||||
static int GetLineBreakSize(byte[] buffer, int offset)
|
||||
{
|
||||
byte c = buffer[offset];
|
||||
if (c == '\r')
|
||||
|
||||
@@ -31,13 +31,12 @@ using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
public delegate OSHttpResponse RequestMethod(in UUID ID, OSHttpRequest request);
|
||||
public delegate bool HasEventsMethod(in UUID requestID, in UUID pId);
|
||||
public delegate OSHttpResponse RequestMethod(UUID ID, OSHttpRequest request);
|
||||
public delegate bool HasEventsMethod(UUID requestID, UUID pId);
|
||||
public delegate Hashtable GetEventsMethod(UUID requestID, UUID pId);
|
||||
|
||||
public delegate Hashtable GetEventsMethod(in UUID requestID, in UUID pId);
|
||||
|
||||
public delegate Hashtable NoEventsMethod(in UUID requestID, in UUID pId);
|
||||
public delegate void DropMethod(in UUID requestID, in UUID pId);
|
||||
public delegate Hashtable NoEventsMethod(UUID requestID, UUID pId);
|
||||
public delegate void DropMethod(UUID requestID, UUID pId);
|
||||
|
||||
public class PollServiceEventArgs : EventArgs
|
||||
{
|
||||
|
||||
@@ -1281,14 +1281,6 @@ namespace OpenSim.Framework
|
||||
*dst++ = LowNibbleToHexByteCharLowcaps(b);
|
||||
}
|
||||
}
|
||||
/*
|
||||
for (int i = 0, j = 0; i < bytes.Length; ++i)
|
||||
{
|
||||
byte b = bytes[i];
|
||||
chars[j++] = HighNibbleToHexByteCharLowcaps(b);
|
||||
chars[j++] = LowNibbleToHexByteCharLowcaps(b);
|
||||
}
|
||||
*/
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user