|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swpchat.client.TelephoneSession
Main class for the funky Telephone stuff. SpeakFreely gets started and stopped here and all the other classes are called by this one.
Field Summary | |
private ClientControls |
clientControls
|
(package private) static java.lang.String |
CLS
|
private TelephonGui |
gui
|
private java.lang.Process |
mixer
|
private java.lang.String |
mixerPath
|
private java.lang.String |
remoteIP
|
private java.lang.Runtime |
rt
|
private java.lang.Process |
sfmike
|
private java.lang.String |
sfmikePath
|
private java.lang.Process |
sfspeaker
|
private java.lang.String |
sfspeakerPath
|
Constructor Summary | |
TelephoneSession(java.lang.String remoteIP,
java.lang.String partnerName,
ClientControls clientControls)
The constructor.. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
reacts to buttons pressed on the TelephoneGUI |
void |
endSession()
stops SpeakFreely and generally ends the telephonesession |
void |
launchMixer()
launches the local mixer program |
void |
launchSfMike(java.lang.String ip)
launches the sender part of SpeakFreely |
void |
launchSfSpeaker()
launches the speaker part of SpeakFreely |
void |
stopMixer()
stops the local mixer program |
void |
stopSfMike()
stops the sender part of SpeakFreely |
void |
stopSfSpeaker()
stops the speaker part of SpeakFreely |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final java.lang.String CLS
private TelephonGui gui
private java.lang.String remoteIP
private java.lang.Process sfmike
private java.lang.Process sfspeaker
private java.lang.Process mixer
private java.lang.Runtime rt
private java.lang.String sfmikePath
private java.lang.String sfspeakerPath
private java.lang.String mixerPath
private ClientControls clientControls
Constructor Detail |
public TelephoneSession(java.lang.String remoteIP, java.lang.String partnerName, ClientControls clientControls)
remoteIP
- The remote partys IP.. what did you expect? The FBI central computer?partnerName
- the remote partys nicknameclientControls
- what are ClientControls anyway?Method Detail |
public void endSession()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void launchSfSpeaker() throws java.io.IOException
public void launchSfMike(java.lang.String ip) throws java.io.IOException
public void stopSfMike()
public void stopSfSpeaker()
public void launchMixer() throws java.io.IOException
public void stopMixer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |