Package com.rs.seagull.emulator.api
Class BareSessionFactory
java.lang.Object
com.rs.seagull.emulator.api.BareSessionFactory
A factory with static methods for creating bare sessions.
- Version:
 - $Id: SessionFactory.java 20144 2012-04-18 13:46:07Z MZibra $
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic BareSessioncreate(com.seagullsw.common.emulator.physical.base.connection2.ConnectionBuilder connectionBuilder) Creates a BareSession.static BareSessioncreate(com.seagullsw.common.emulator.physical.base.connection2.ConnectionBuilder connectionBuilder, String scheme, String host, int port, Map<String, Object> properties) Creates a BareSession.static BareSessionCreates a BareSession.static BareSessionCreates a BareSession.static BareSessionCreates a BareSession. 
- 
Constructor Details
- 
BareSessionFactory
public BareSessionFactory() 
 - 
 - 
Method Details
- 
create
public static BareSession create(com.seagullsw.common.emulator.physical.base.connection2.ConnectionBuilder connectionBuilder) Creates a BareSession.- Parameters:
 connectionBuilder- the connection builder to use- Returns:
 - a BareSession.
 
 - 
create
public static BareSession create(com.seagullsw.common.emulator.physical.base.connection2.ConnectionBuilder connectionBuilder, String scheme, String host, int port, Map<String, Object> properties) Creates a BareSession.- Parameters:
 connectionBuilder- the connection builder to use.scheme- The type of emulator (see SCHEME constants in Emulators).host- The name of the host to connect to.port- The socket port on the host.properties- Optional set of connection properties.- Returns:
 - a BareSession.
 
 - 
create
public static BareSession create(String scheme, String host, int port, Map<String, Object> properties) Creates a BareSession.- Parameters:
 scheme- The type of emulator (see SCHEME constants in Emulators).host- The name of the host to connect to.port- The socket port on the host.properties- Optional set of connection properties.- Returns:
 - a BareSession.
 
 - 
create
Creates a BareSession.- Parameters:
 scheme- The type of emulator (see SCHEME constants in Emulators).host- The name of the host to connect to.port- The socket port on the host.- Returns:
 - a BareSession.
 
 - 
create
Creates a BareSession.- Parameters:
 uri- Uniform Resource Identifier.- Returns:
 - a BareSession.
 
 
 -