org.jdiameter.client.impl
Class RawSessionImpl

java.lang.Object
  extended by org.jdiameter.client.impl.BaseSessionImpl
      extended by org.jdiameter.client.impl.RawSessionImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.BaseSession, org.jdiameter.api.RawSession, org.jdiameter.api.Wrapper

public class RawSessionImpl
extends BaseSessionImpl
implements org.jdiameter.api.RawSession

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdiameter.client.impl.BaseSessionImpl
container, creationTime, isValid, lastAccessedTime, parser, reqListener
 
Method Summary
 org.jdiameter.api.Message createMessage(int commandCode, org.jdiameter.api.ApplicationId appId, org.jdiameter.api.Avp... avps)
           
 org.jdiameter.api.Message createMessage(int commandCode, org.jdiameter.api.ApplicationId appId, long hopByHopIdentifier, long endToEndIdentifier, org.jdiameter.api.Avp... avps)
           
 org.jdiameter.api.Message createMessage(org.jdiameter.api.Message message, boolean copyAvps)
           
 boolean isWrapperFor(java.lang.Class<?> iface)
           
 void release()
           
 void send(org.jdiameter.api.Message message, org.jdiameter.api.EventListener<org.jdiameter.api.Message,org.jdiameter.api.Message> listener)
           
 void send(org.jdiameter.api.Message message, org.jdiameter.api.EventListener<org.jdiameter.api.Message,org.jdiameter.api.Message> listener, long timeOut, java.util.concurrent.TimeUnit timeUnit)
           
<T> T
unwrap(java.lang.Class<T> iface)
           
 
Methods inherited from class org.jdiameter.client.impl.BaseSessionImpl
appendAppId, createListenerWrapper, genericSend, genericSend, getAppId, getCreationTime, getLastAccessedTime, isValid, send, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jdiameter.api.BaseSession
getCreationTime, getLastAccessedTime, isValid, send, send
 

Method Detail

createMessage

public org.jdiameter.api.Message createMessage(int commandCode,
                                               org.jdiameter.api.ApplicationId appId,
                                               org.jdiameter.api.Avp... avps)
Specified by:
createMessage in interface org.jdiameter.api.RawSession

createMessage

public org.jdiameter.api.Message createMessage(int commandCode,
                                               org.jdiameter.api.ApplicationId appId,
                                               long hopByHopIdentifier,
                                               long endToEndIdentifier,
                                               org.jdiameter.api.Avp... avps)
Specified by:
createMessage in interface org.jdiameter.api.RawSession

createMessage

public org.jdiameter.api.Message createMessage(org.jdiameter.api.Message message,
                                               boolean copyAvps)
Specified by:
createMessage in interface org.jdiameter.api.RawSession

send

public void send(org.jdiameter.api.Message message,
                 org.jdiameter.api.EventListener<org.jdiameter.api.Message,org.jdiameter.api.Message> listener)
          throws org.jdiameter.api.InternalException,
                 org.jdiameter.api.IllegalDiameterStateException,
                 org.jdiameter.api.RouteException,
                 org.jdiameter.api.OverloadException
Specified by:
send in interface org.jdiameter.api.RawSession
Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException

send

public void send(org.jdiameter.api.Message message,
                 org.jdiameter.api.EventListener<org.jdiameter.api.Message,org.jdiameter.api.Message> listener,
                 long timeOut,
                 java.util.concurrent.TimeUnit timeUnit)
          throws org.jdiameter.api.InternalException,
                 org.jdiameter.api.IllegalDiameterStateException,
                 org.jdiameter.api.RouteException,
                 org.jdiameter.api.OverloadException
Specified by:
send in interface org.jdiameter.api.RawSession
Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException

release

public void release()
Specified by:
release in interface org.jdiameter.api.BaseSession

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws org.jdiameter.api.InternalException
Specified by:
isWrapperFor in interface org.jdiameter.api.Wrapper
Throws:
org.jdiameter.api.InternalException

unwrap

public <T> T unwrap(java.lang.Class<T> iface)
         throws org.jdiameter.api.InternalException
Specified by:
unwrap in interface org.jdiameter.api.Wrapper
Throws:
org.jdiameter.api.InternalException


Copyright © 2008. All Rights Reserved.