Servoy 5.x Public API

com.servoy.j2db.server.shared
Interface IClientInformation

All Superinterfaces:
com.servoy.j2db.server.IClientInformation

public interface IClientInformation
extends com.servoy.j2db.server.IClientInformation

Interface to receive some client information at the server side


Method Summary
 int getApplicationType()
          Gets the type of the application that was started by this client (smart client, web client, ...).
 String getClientID()
          Gets the clientId of this client.
 String getHostAddress()
          Gets the address of the host computer where this client has connected from.
 String getHostIdentifier()
          Gets the identified of the host computer where this client has connected from.
 String getHostName()
          Gets the name of the host computer where this client has connected from.
 String getUserName()
          Gets the name of the user who logged in at this client.
 String getUserUID()
          Gets the uid of the user who logged in at this client.
 

Method Detail

getApplicationType

int getApplicationType()
Gets the type of the application that was started by this client (smart client, web client, ...).

Specified by:
getApplicationType in interface com.servoy.j2db.server.IClientInformation
Returns:
An int which encodes the application type.

getClientID

String getClientID()
Gets the clientId of this client.

Specified by:
getClientID in interface com.servoy.j2db.server.IClientInformation
Returns:
A String which holds the id of the client.

getHostAddress

String getHostAddress()
Gets the address of the host computer where this client has connected from.

Specified by:
getHostAddress in interface com.servoy.j2db.server.IClientInformation
Returns:
A String which holds the address of the host computer.

getHostIdentifier

String getHostIdentifier()
Gets the identified of the host computer where this client has connected from.

Specified by:
getHostIdentifier in interface com.servoy.j2db.server.IClientInformation
Returns:
A String which holds the identifier of the host computer.

getHostName

String getHostName()
Gets the name of the host computer where this client has connected from.

Specified by:
getHostName in interface com.servoy.j2db.server.IClientInformation
Returns:
A String which holds the name of the host computer.

getUserName

String getUserName()
Gets the name of the user who logged in at this client.

Specified by:
getUserName in interface com.servoy.j2db.server.IClientInformation
Returns:
A String holding the name of the user. If the solution that is running on the client does not require a login, then null is returned.

getUserUID

String getUserUID()
Gets the uid of the user who logged in at this client.

Specified by:
getUserUID in interface com.servoy.j2db.server.IClientInformation
Returns:
A String holding the uid of the user. If the solution that is running on this client does not require a login, then null is returned.

Copyright © 2010 Servoy B.V.