|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.io.transport.options.TransportTypeOptions
net.rim.device.api.io.transport.options.TcpCellularOptions
public class TcpCellularOptions
This class stores configuration information for the TcpCellular transport type. If you provide an instance of this class
to a ConnectionFactory object, the factory will use the configuration information when it creates a TcpCellular connection.
Otherwise, the factory uses the default configuration information set on the device. You can view or change that default information by navigating to Options->Advanced Options->TCP.
| Constructor Summary | ||
|---|---|---|
TcpCellularOptions()
Constructs a TcpCellularOptions object |
||
| Method Summary | ||
|---|---|---|
String |
getApn()
Retrieves the apn |
|
String |
getTunnelAuthPassword()
Retrieves the tunnelAuthPassword |
|
String |
getTunnelAuthUsername()
Retrieves the tunnelAuthUsername |
|
void |
setApn(String apn)
Sets the apn |
|
void |
setTunnelAuthPassword(String tunnelAuthPassword)
Sets the tunnelAuthPassword |
|
void |
setTunnelAuthUsername(String tunnelAuthUsername)
Sets tunnelAuthUsername |
|
String |
toUrlOptionString()
Converts the contents into a string that can be used in a URL. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TcpCellularOptions()
| Method Detail |
|---|
public String getApn()
public void setApn(String apn)
apn - the apn to setpublic String getTunnelAuthUsername()
public void setTunnelAuthUsername(String tunnelAuthUsername)
tunnelAuthUsername - the tunnelAuthUsername to setpublic String getTunnelAuthPassword()
public void setTunnelAuthPassword(String tunnelAuthPassword)
tunnelAuthPassword - the tunnelAuthPassword to setpublic String toUrlOptionString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.