cisco.uc.cuae.legacy
Class CiscoExtensionMobilityHelper

java.lang.Object
  extended by etch.bindings.java.transport.TransportHelper
      extended by cisco.uc.cuae.legacy.CiscoExtensionMobilityHelper

public abstract class CiscoExtensionMobilityHelper
extends etch.bindings.java.transport.TransportHelper

Transport helper for CiscoExtensionMobility. All methods are static.


Nested Class Summary
static interface CiscoExtensionMobilityHelper.CiscoExtensionMobilityClientFactory
          Factory used by newServer(String, Resources, CiscoExtensionMobilityClientFactory) to construct a new instance implementing CiscoExtensionMobilityClient.
static interface CiscoExtensionMobilityHelper.CiscoExtensionMobilityServerFactory
          Factory used by newListener(String, Resources, CiscoExtensionMobilityServerFactory) to construct a new instance implementing CiscoExtensionMobilityServer.
 
Field Summary
 
Fields inherited from class etch.bindings.java.transport.TransportHelper
BINARY, FREE_POOL, QUEUED_POOL, XML
 
Constructor Summary
CiscoExtensionMobilityHelper()
           
 
Method Summary
static etch.util.core.io.Transport<?> newListener(java.lang.String uri, etch.util.Resources resources, CiscoExtensionMobilityHelper.CiscoExtensionMobilityServerFactory implFactory)
          Constructs a new server session listener per specifications in uri and resources.
static RemoteCiscoExtensionMobilityServer newServer(java.lang.String uri, etch.util.Resources resources, CiscoExtensionMobilityHelper.CiscoExtensionMobilityClientFactory implFactory)
          Constructs a new client session per specifications in uri and resources.
 
Methods inherited from class etch.bindings.java.transport.TransportHelper
initResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CiscoExtensionMobilityHelper

public CiscoExtensionMobilityHelper()
Method Detail

newListener

public static etch.util.core.io.Transport<?> newListener(java.lang.String uri,
                                                         etch.util.Resources resources,
                                                         CiscoExtensionMobilityHelper.CiscoExtensionMobilityServerFactory implFactory)
                                                  throws java.lang.Exception
Constructs a new server session listener per specifications in uri and resources. This listener will accept requests from clients for new server sessions.

Parameters:
uri - contains specifications for the server session listener and for the server session transport stack.
resources - additional resources to aid in constructing new server sessions.
implFactory - factory used to construct a new instance implementing CiscoExtensionMobilityServer. The new instance will receive and process messages from the client session.
Returns:
a server session listener.
Throws:
java.lang.Exception

newServer

public static RemoteCiscoExtensionMobilityServer newServer(java.lang.String uri,
                                                           etch.util.Resources resources,
                                                           CiscoExtensionMobilityHelper.CiscoExtensionMobilityClientFactory implFactory)
                                                    throws java.lang.Exception
Constructs a new client session per specifications in uri and resources.

Parameters:
uri - contains specifications for the client session transport stack.
resources - additional resources to aid in constructing new client sessions.
implFactory - factory used to construct a new instance implementing CiscoExtensionMobilityClient. The new instance will receive and process messages from the server session.
Returns:
an instance of RemoteCiscoExtensionMobilityServer initialized by uri and resources which may be used to send messages to the server session.
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.