com.funambol.util
Class WapGateway

java.lang.Object
  extended by com.funambol.util.WapGateway

public class WapGateway
extends java.lang.Object

Wrap around the concept of WAP gateway: provides the informations related to a WAP configurations like APN, Username, Password and country.


Constructor Summary
protected WapGateway()
          Default empty
  WapGateway(java.lang.String apn, java.lang.String username, java.lang.String password, java.lang.String country)
          The constructor must receive all of the parameters
  WapGateway(java.lang.String apn, java.lang.String username, java.lang.String password, java.lang.String gatewayIP, java.lang.String country)
          The constructor must receive all of the parameters
 
Method Summary
 java.lang.String getApn()
          Accessor method
 java.lang.String getCountry()
          Accessor method
 java.lang.String getGatewayIP()
           
 java.lang.String getPassword()
          Accessor method
 java.lang.String getUsername()
          Accessor method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WapGateway

protected WapGateway()
Default empty


WapGateway

public WapGateway(java.lang.String apn,
                  java.lang.String username,
                  java.lang.String password,
                  java.lang.String country)
The constructor must receive all of the parameters

Parameters:
apn - is the String representation of the Access Point Name for this wap gateway
username - required to access the given gateway (mandatory for some carrier)
password - required to access the given gateway (mandatory for some carrier)
country - is the country identificator for this gateway

WapGateway

public WapGateway(java.lang.String apn,
                  java.lang.String username,
                  java.lang.String password,
                  java.lang.String gatewayIP,
                  java.lang.String country)
The constructor must receive all of the parameters

Parameters:
apn - is the String representation of the Access Point Name for this wap gateway
username - required to access the given gateway (mandatory for some carrier)
password - required to access the given gateway (mandatory for some carrier)
gatewayIP - the IP of the gateway
country - is the country identificator for this gateway
Method Detail

getApn

public java.lang.String getApn()
Accessor method

Returns:
String representation of the Access Point Name (APN)

getUsername

public java.lang.String getUsername()
Accessor method

Returns:
String representation of the username related to this Access Point Name (APN)

getPassword

public java.lang.String getPassword()
Accessor method

Returns:
String representation of the password related to this Access Point Name (APN)

getCountry

public java.lang.String getCountry()
Accessor method

Returns:
String representation of the country related to this Access Point Name (APN)

getGatewayIP

public java.lang.String getGatewayIP()


Copyright © 2001-2009 Funambol.