C# Class Flood.Remoting.ContextManager

显示文件 Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
ContextManager ( RemotingManager remotingManager, IContextLoader loader ) : System
GetContextId ( Assembly assembly ) : IContextId
GetDataObjectFactory ( IContextId contextId ) : IDataObjectFactory
GetDataObjectFactory ( int localId ) : IDataObjectFactory
GetPeerPolymorphicType ( RemotingPeer peer, Type type, Type baseType, ushort &remoteContextId, ushort &dataObjectId ) : Type
Process ( Message data ) : void
RequestContext ( RemotingPeer peer, Assembly assembly ) : void

Private Methods

Method Description
GetCreateContext ( Assembly assembly ) : ContextInfo
GetGlobalServiceId ( Type type ) : GlobalServiceId
ProcessContextRequest ( Message data ) : void
ProcessContextResponse ( Message data ) : void
ReadContextId ( Message data ) : IContextId

Method Details

ContextManager() public method

public ContextManager ( RemotingManager remotingManager, IContextLoader loader ) : System
remotingManager RemotingManager
loader IContextLoader
return System

GetContextId() public method

public GetContextId ( Assembly assembly ) : IContextId
assembly System.Reflection.Assembly
return IContextId

GetDataObjectFactory() public method

public GetDataObjectFactory ( IContextId contextId ) : IDataObjectFactory
contextId IContextId
return IDataObjectFactory

GetDataObjectFactory() public method

public GetDataObjectFactory ( int localId ) : IDataObjectFactory
localId int
return IDataObjectFactory

GetPeerPolymorphicType() public method

public GetPeerPolymorphicType ( RemotingPeer peer, Type type, Type baseType, ushort &remoteContextId, ushort &dataObjectId ) : Type
peer RemotingPeer
type System.Type
baseType System.Type
remoteContextId ushort
dataObjectId ushort
return System.Type

Process() public method

public Process ( Message data ) : void
data Message
return void

RequestContext() public method

public RequestContext ( RemotingPeer peer, Assembly assembly ) : void
peer RemotingPeer
assembly System.Reflection.Assembly
return void