Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencloud.slee.services.sip.proxy
Class BaseProxySbb  view BaseProxySbb download BaseProxySbb.java

java.lang.Object
  extended bycom.opencloud.slee.services.sip.common.SipBaseSbb
      extended bycom.opencloud.slee.services.sip.proxy.BaseProxySbb
All Implemented Interfaces:
com.opencloud.slee.services.sip.common.SipServerConfig
Direct Known Subclasses:
JainSipProxySbb

public abstract class BaseProxySbb
extends com.opencloud.slee.services.sip.common.SipBaseSbb


Nested Class Summary
private  class BaseProxySbb.MySipProxy
          Inner class that overrides some proxy behaviour.
 
Field Summary
 
Fields inherited from class com.opencloud.slee.services.sip.common.SipBaseSbb
 
Constructor Summary
BaseProxySbb()
           
 
Method Summary
abstract  SipProxySbbActivityContextInterface asSbbActivityContextInterface(ActivityContextInterface ac)
           
abstract  ProxySbbUsage getDefaultSbbUsageParameterSet()
           
abstract  ChildRelation getRegistrarSbbChild()
           
 ServerTransaction getServerTransaction(ClientTransaction clientTransaction)
           
protected  java.lang.String getTraceMessageType()
           
 void onAckEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onByeEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onCancelEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onClientErrorRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onGlobalFailureRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onInfoRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onInviteEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onOptionsEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onRedirRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onRegisterEvent(RequestEvent event, ActivityContextInterface ac)
           
 void onServerErrorRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onSuccessRespEvent(ResponseEvent event, ActivityContextInterface ac)
           
 void onTransactionExpiredEvent(TimeoutEvent event, ActivityContextInterface ac)
           
 void onTransactionTimeoutEvent(TimeoutEvent event, ActivityContextInterface ac)
           
private  void processRequest(ServerTransaction serverTransaction, Request request, ActivityContextInterface ac)
           
private  void processResponse(ClientTransaction clientTransaction, Response response, ActivityContextInterface ac)
           
protected abstract  ClientTransaction sendRequest(Request request, boolean attach)
           
protected abstract  void sendStatelessRequest(Request request)
           
protected abstract  void sendStatelessResponse(Response response)
           
 
Methods inherited from class com.opencloud.slee.services.sip.common.SipBaseSbb
alarm, alarm, getAddressFactory, getHeaderFactory, getHostname, getLocalDomainNames, getLocationService, getMessageFactory, getNullACIFactory, getNullActivityFactory, getPort, getProfileFacility, getSbbContext, getSbbLocalObject, getSipConfig, getSipProvider, getSipRegistrationMaxExpires, getSipRegistrationMinExpires, getSupportedURISchemes, getTimerFacility, getTraceFacility, getTransport, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, setSbbContext, trace, trace, unsetSbbContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseProxySbb

public BaseProxySbb()
Method Detail

getTraceMessageType

protected java.lang.String getTraceMessageType()

getRegistrarSbbChild

public abstract ChildRelation getRegistrarSbbChild()

asSbbActivityContextInterface

public abstract SipProxySbbActivityContextInterface asSbbActivityContextInterface(ActivityContextInterface ac)

processRequest

private void processRequest(ServerTransaction serverTransaction,
                            Request request,
                            ActivityContextInterface ac)

processResponse

private void processResponse(ClientTransaction clientTransaction,
                             Response response,
                             ActivityContextInterface ac)

onRegisterEvent

public void onRegisterEvent(RequestEvent event,
                            ActivityContextInterface ac)

onInviteEvent

public void onInviteEvent(RequestEvent event,
                          ActivityContextInterface ac)

onByeEvent

public void onByeEvent(RequestEvent event,
                       ActivityContextInterface ac)

onCancelEvent

public void onCancelEvent(RequestEvent event,
                          ActivityContextInterface ac)

onAckEvent

public void onAckEvent(RequestEvent event,
                       ActivityContextInterface ac)

onOptionsEvent

public void onOptionsEvent(RequestEvent event,
                           ActivityContextInterface ac)

onInfoRespEvent

public void onInfoRespEvent(ResponseEvent event,
                            ActivityContextInterface ac)

onSuccessRespEvent

public void onSuccessRespEvent(ResponseEvent event,
                               ActivityContextInterface ac)

onRedirRespEvent

public void onRedirRespEvent(ResponseEvent event,
                             ActivityContextInterface ac)

onClientErrorRespEvent

public void onClientErrorRespEvent(ResponseEvent event,
                                   ActivityContextInterface ac)

onServerErrorRespEvent

public void onServerErrorRespEvent(ResponseEvent event,
                                   ActivityContextInterface ac)

onGlobalFailureRespEvent

public void onGlobalFailureRespEvent(ResponseEvent event,
                                     ActivityContextInterface ac)

onTransactionTimeoutEvent

public void onTransactionTimeoutEvent(TimeoutEvent event,
                                      ActivityContextInterface ac)

onTransactionExpiredEvent

public void onTransactionExpiredEvent(TimeoutEvent event,
                                      ActivityContextInterface ac)

getServerTransaction

public ServerTransaction getServerTransaction(ClientTransaction clientTransaction)

getDefaultSbbUsageParameterSet

public abstract ProxySbbUsage getDefaultSbbUsageParameterSet()

sendRequest

protected abstract ClientTransaction sendRequest(Request request,
                                                 boolean attach)
                                          throws SipException

sendStatelessRequest

protected abstract void sendStatelessRequest(Request request)
                                      throws SipException

sendStatelessResponse

protected abstract void sendStatelessResponse(Response response)
                                       throws SipException