C# 클래스 Grider.GriderProxy

파일 보기 프로젝트 열기: diva/Grider 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HttpServer HttpServer.HttpListener
KnownCaps CapInfo>.Dictionary
activeCircuit System.Net.IPEndPoint
eq EventQueue
loginURI string
remoteLoginURI string

공개 메소드들

메소드 설명
AddCapsDelegate ( string CapName, CapsDelegate capsDelegate ) : void
AddDelegate ( PacketType packetType, Direction direction, PacketDelegate packetDelegate ) : void
FixupSeedCapsResponse ( CapsRequest capReq, CapsStage stage ) : bool
ForwardCaps ( string uri, CapsRequest capReq ) : void
GenericCheck ( uint &simIP, ushort &simPort, string &simCaps, bool active ) : void
GriderProxy ( GriderProxyConfig proxyConfig ) : System
InjectPacket ( Packet packet, Direction direction ) : void
KeepAlive ( ) : void
ProxySim ( IPEndPoint simEndPoint ) : IPEndPoint
RemoveCapRequestDelegate ( string CapName, CapsDelegate capsDelegate ) : void
RemoveDelegate ( PacketType packetType, Direction direction, PacketDelegate packetDelegate ) : void
SendPacket ( Packet packet, IPEndPoint endPoint, bool skipZero ) : void
SeparateAck ( Packet packet ) : Packet
SetLoginRequestDelegate ( XmlRpcRequestDelegate loginRequestDelegate ) : XmlRpcRequestDelegate
SetLoginResponseDelegate ( XmlRpcResponseDelegate loginResponseDelegate ) : XmlRpcResponseDelegate
SpoofAck ( uint sequence ) : Packet
Start ( ) : void
Stop ( ) : void
SwapPacket ( Packet oldPacket, Packet newPacket ) : void
UnproxySim ( IPEndPoint simEndPoint ) : void

비공개 메소드들

메소드 설명
AddHandler ( EndPoint endPoint, SimProxy proxy ) : void
AddMystery ( PacketType type ) : void
CheckCrossedRegion ( Packet packet ) : Packet
CheckEnableSimulator ( Packet packet ) : Packet
CheckTeleportFinish ( Packet packet ) : Packet
FixupEventQueueGet ( CapsRequest capReq, CapsStage stage ) : bool
InitializeAddressCheckers ( ) : void
InitializeCaps ( ) : void
InitializeLoginProxy ( ) : void
InitializeSimProxy ( ) : void
KnownCapDelegate ( CapsRequest capReq, CapsStage stage ) : bool
Log ( object message, bool important ) : void
LogIncomingMysteryPacket ( Packet packet ) : Packet
LogOutgoingMysteryPacket ( Packet packet ) : Packet
LogPacket ( Packet packet, string type ) : Packet
ProxyCaps ( NetworkStream netStream, string meth, string uri, string>.Dictionary headers, byte content, int reqNo ) : void
ProxyHTTP ( Socket client ) : void
ProxyLogin ( NetworkStream netStream, byte content ) : void
ProxyLoginSD ( NetworkStream netStream, byte content ) : void
ReceiveFromSim ( IAsyncResult ar ) : void
ReifyEventQueueGetRequest ( CapsRequest capReq ) : bool
Reset ( ) : void
RunLoginProxy ( ) : void
RunSimProxy ( ) : void
StartHttpServer ( ) : void
callDelegates ( Dictionary delegates, Packet packet, IPEndPoint remoteEndPoint ) : Packet

메소드 상세

AddCapsDelegate() 공개 메소드

public AddCapsDelegate ( string CapName, CapsDelegate capsDelegate ) : void
CapName string
capsDelegate CapsDelegate
리턴 void

AddDelegate() 공개 메소드

public AddDelegate ( PacketType packetType, Direction direction, PacketDelegate packetDelegate ) : void
packetType PacketType
direction Direction
packetDelegate PacketDelegate
리턴 void

FixupSeedCapsResponse() 공개 메소드

public FixupSeedCapsResponse ( CapsRequest capReq, CapsStage stage ) : bool
capReq CapsRequest
stage CapsStage
리턴 bool

ForwardCaps() 공개 메소드

public ForwardCaps ( string uri, CapsRequest capReq ) : void
uri string
capReq CapsRequest
리턴 void

GenericCheck() 공개 메소드

public GenericCheck ( uint &simIP, ushort &simPort, string &simCaps, bool active ) : void
simIP uint
simPort ushort
simCaps string
active bool
리턴 void

GriderProxy() 공개 메소드

public GriderProxy ( GriderProxyConfig proxyConfig ) : System
proxyConfig GriderProxyConfig
리턴 System

InjectPacket() 공개 메소드

public InjectPacket ( Packet packet, Direction direction ) : void
packet OpenMetaverse.Packets.Packet
direction Direction
리턴 void

KeepAlive() 공개 메소드

public KeepAlive ( ) : void
리턴 void

ProxySim() 공개 메소드

public ProxySim ( IPEndPoint simEndPoint ) : IPEndPoint
simEndPoint System.Net.IPEndPoint
리턴 System.Net.IPEndPoint

RemoveCapRequestDelegate() 공개 메소드

public RemoveCapRequestDelegate ( string CapName, CapsDelegate capsDelegate ) : void
CapName string
capsDelegate CapsDelegate
리턴 void

RemoveDelegate() 공개 메소드

public RemoveDelegate ( PacketType packetType, Direction direction, PacketDelegate packetDelegate ) : void
packetType PacketType
direction Direction
packetDelegate PacketDelegate
리턴 void

SendPacket() 공개 메소드

public SendPacket ( Packet packet, IPEndPoint endPoint, bool skipZero ) : void
packet OpenMetaverse.Packets.Packet
endPoint System.Net.IPEndPoint
skipZero bool
리턴 void

SeparateAck() 공개 메소드

public SeparateAck ( Packet packet ) : Packet
packet OpenMetaverse.Packets.Packet
리턴 OpenMetaverse.Packets.Packet

SetLoginRequestDelegate() 공개 메소드

public SetLoginRequestDelegate ( XmlRpcRequestDelegate loginRequestDelegate ) : XmlRpcRequestDelegate
loginRequestDelegate XmlRpcRequestDelegate
리턴 XmlRpcRequestDelegate

SetLoginResponseDelegate() 공개 메소드

public SetLoginResponseDelegate ( XmlRpcResponseDelegate loginResponseDelegate ) : XmlRpcResponseDelegate
loginResponseDelegate XmlRpcResponseDelegate
리턴 XmlRpcResponseDelegate

SpoofAck() 공개 메소드

public SpoofAck ( uint sequence ) : Packet
sequence uint
리턴 OpenMetaverse.Packets.Packet

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

SwapPacket() 공개 정적인 메소드

public static SwapPacket ( Packet oldPacket, Packet newPacket ) : void
oldPacket OpenMetaverse.Packets.Packet
newPacket OpenMetaverse.Packets.Packet
리턴 void

UnproxySim() 공개 메소드

public UnproxySim ( IPEndPoint simEndPoint ) : void
simEndPoint System.Net.IPEndPoint
리턴 void

프로퍼티 상세

HttpServer 공개적으로 프로퍼티

public HttpServer.HttpListener HttpServer
리턴 HttpServer.HttpListener

KnownCaps 공개적으로 프로퍼티

public Dictionary KnownCaps
리턴 CapInfo>.Dictionary

activeCircuit 공개적으로 프로퍼티

public IPEndPoint,System.Net activeCircuit
리턴 System.Net.IPEndPoint

eq 공개적으로 프로퍼티

public EventQueue,Grider eq
리턴 EventQueue

loginURI 공개적으로 프로퍼티

public string loginURI
리턴 string

remoteLoginURI 공개적으로 프로퍼티

public string remoteLoginURI
리턴 string