org.jvoicexml.jndi.client
Interface RemoteSession

All Superinterfaces:
Remote

public interface RemoteSession
extends Remote

Remote interface to enable remote method calls betwennK SessionSkeleton and SessionStub.

Since:
0.4
Version:
$Revision: 202 $

Copyright © 2006-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Dirk Schnelle
See Also:
Session, SessionSkeleton
Stuff to complete
Remote sessions will require a unique ID

Method Summary
 void call(URI uri)
          Handles a call request.
 void close()
          Closes this session.
 CharacterInput getCharacterInput()
          Retrieves the DTMF input device.
 void hangup()
          Handles a hangup request.
 void waitSessionEnd()
          Delays until the session ends.
 

Method Detail

call

void call(URI uri)
          throws RemoteException
Handles a call request.

Starts processing of the current application.

Parameters:
uri - URI of the first document to load.
Throws:
RemoteException - Error in remote method call.

hangup

void hangup()
            throws RemoteException
Handles a hangup request.

Throws:
RemoteException - Error in remote method call.
Since:
0.4

getCharacterInput

CharacterInput getCharacterInput()
                                 throws RemoteException
Retrieves the DTMF input device.

Returns:
DTMF input device.
Throws:
RemoteException - Error in remote method call.
Since:
0.5

waitSessionEnd

void waitSessionEnd()
                    throws RemoteException
Delays until the session ends.

Throws:
RemoteException - Error in remote method call.
Since:
0.4

close

void close()
           throws RemoteException
Closes this session.

Throws:
RemoteException - Error in remote method call.


Copyright © 2005-2007 JVoiceXML group.