C# Class Model.NetInnerComponent

Inheritance: NetworkComponent
Mostra file Open project: egametang/Egametang

Public Methods

Method Description
Get ( string address ) : Model.Session

从地址缓存中取Session,如果没有则创建一个新的Session,并且保存到地址缓存中

Remove ( long id ) : void

Private Methods

Method Description
Awake ( ) : void
Awake ( string host, int port ) : void
Update ( ) : void

Method Details

Get() public method

从地址缓存中取Session,如果没有则创建一个新的Session,并且保存到地址缓存中
public Get ( string address ) : Model.Session
address string
return Model.Session

Remove() public method

public Remove ( long id ) : void
id long
return void