C# 클래스 Universe.Modules.Chat.MessageTransferModule

상속: INonSharedRegionModule, IMessageTransferModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

보호된 프로퍼티들

프로퍼티 타입 설명
IMUsersCache string>.Dictionary
m_addedHttpHandler bool
m_agentInfoService IAgentInfoService
m_scenes List

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
Close ( ) : void
HandleUndeliveredMessage ( GridInstantMessage im, string reason ) : void
Initialize ( IConfigSource config ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SendInstantMessage ( GridInstantMessage im ) : void
SendInstantMessages ( GridInstantMessage im, List AgentsToSendTo ) : void

보호된 메소드들

메소드 설명
GridInstantMessageCompleted ( IAsyncResult iar ) : void
SendGridInstantMessageViaXMLRPC ( GridInstantMessage im ) : void
SendGridInstantMessageViaXMLRPCAsync ( GridInstantMessage im, GridRegion prevRegion ) : void

Recursive SendGridInstantMessage over XMLRPC method. This is called from within a dedicated thread. The first time this is called, prevRegionHandle will be 0 Subsequent times this is called from itself, prevRegionHandle will be the last region handle that we tried to send. If the handles are the same, we look up the user's location using the grid. If the handles are still the same, we end. The send failed.

SendMultipleGridInstantMessageViaXMLRPC ( GridInstantMessage im, List users ) : void
doIMSending ( string httpInfo, GridInstantMessage message ) : bool

This actually does the XMLRPC Request

processGridInstantMessage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GridInstantMessageCompleted() 보호된 메소드

protected GridInstantMessageCompleted ( IAsyncResult iar ) : void
iar IAsyncResult
리턴 void

HandleUndeliveredMessage() 공개 메소드

public HandleUndeliveredMessage ( GridInstantMessage im, string reason ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
reason string
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config ) : void
config IConfigSource
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

SendGridInstantMessageViaXMLRPC() 보호된 메소드

protected SendGridInstantMessageViaXMLRPC ( GridInstantMessage im ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
리턴 void

SendGridInstantMessageViaXMLRPCAsync() 보호된 메소드

Recursive SendGridInstantMessage over XMLRPC method. This is called from within a dedicated thread. The first time this is called, prevRegionHandle will be 0 Subsequent times this is called from itself, prevRegionHandle will be the last region handle that we tried to send. If the handles are the same, we look up the user's location using the grid. If the handles are still the same, we end. The send failed.
protected SendGridInstantMessageViaXMLRPCAsync ( GridInstantMessage im, GridRegion prevRegion ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
prevRegion Universe.Framework.Services.GridRegion /// Pass in 0 the first time this method is called. It will be called recursively with the last /// regionhandle tried ///
리턴 void

SendInstantMessage() 공개 메소드

public SendInstantMessage ( GridInstantMessage im ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
리턴 void

SendInstantMessages() 공개 메소드

public SendInstantMessages ( GridInstantMessage im, List AgentsToSendTo ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
AgentsToSendTo List
리턴 void

SendMultipleGridInstantMessageViaXMLRPC() 보호된 메소드

protected SendMultipleGridInstantMessageViaXMLRPC ( GridInstantMessage im, List users ) : void
im Universe.Framework.ClientInterfaces.GridInstantMessage
users List
리턴 void

doIMSending() 보호된 메소드

This actually does the XMLRPC Request
protected doIMSending ( string httpInfo, GridInstantMessage message ) : bool
httpInfo string RegionInfo we pull the data out of to send the request to
message Universe.Framework.ClientInterfaces.GridInstantMessage
리턴 bool

processGridInstantMessage() 보호된 메소드

protected processGridInstantMessage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
리턴 byte[]

프로퍼티 상세

IMUsersCache 보호되어 있는 정적으로 프로퍼티

Param UUID - AgentID Param string - HTTP path to the region the user is in, blank if not found
protected static Dictionary IMUsersCache
리턴 string>.Dictionary

m_addedHttpHandler 보호되어 있는 프로퍼티

protected bool m_addedHttpHandler
리턴 bool

m_agentInfoService 보호되어 있는 프로퍼티

protected IAgentInfoService m_agentInfoService
리턴 IAgentInfoService

m_scenes 보호되어 있는 정적으로 프로퍼티

protected static List m_scenes
리턴 List