# Methods

`-createSessionId`
  creates a unique id to be assigned to a session
`-iniForServer`
  initializes the instance. For internal purposes only
`-initForServer:`
  initializes the instance. For internal purposes only
`-loginAs`
  get a session
`-loginAs:withPassword:`
  get a session
`-reconnectSession:`
  reconnects the given session e.g. after a shutdown/start of the server

### createSessionId

creates a unique id to be assigned to a session

>     - (id) createSessionId;

method result
  session id

### iniForServer

initializes the instance. For internal purposes only

See Also:

> initForServer:

>     - initForServer: (FTServerImpl *) theServer;

##### Parameter Descriptions

> `theServer`
>   the underyling server for which the sessions have to be managed

### initForServer:

initializes the instance. For internal purposes only

See Also:

> iniForServer

>     - initForServer: (FTServerImpl *) theServer;

##### Parameter Descriptions

> `theServer`
>   the underyling server for which the sessions have to be managed

### loginAs

get a session

See Also:

> loginAs:withPassword:

>     - (id <FTSession>) loginAs: (NSString *) loginId withPassword: (NSString *) password;

##### Parameter Descriptions

> `loginId`
> `password`

### loginAs:withPassword:

get a session

See Also:

> loginAs

>     - (id <FTSession>) loginAs: (NSString *) loginId withPassword: (NSString *) password;

##### Parameter Descriptions

> `loginId`
> `password`

### reconnectSession:

reconnects the given session e.g. after a shutdown/start of the server

>     - reconnectSession: (id <FTSession>) aSession;

##### Parameter Descriptions

> `aSession`
>   session to reconnect

method result
  self

(Last Updated August 27, 2006)