|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.voice.VoiceConnection
public class VoiceConnection
This class holds voice-specific information about the connection, such as the oid of the speaker, the speaking state, etc.
| Field Summary | |
|---|---|
SecureToken |
authToken
The authentication token for this connection. |
ClientConnection |
con
The networking connection to the client with the given oid. |
VoiceGroup |
group
The VoiceGroup instance to which this player belongs. |
GroupMember |
groupMember
The GroupMember of the player with which this connection is associated. |
OID |
groupOid
The oid of the group to which this player belongs. |
boolean |
listenToYourself
True if the speaker is allowed to listen to himself. |
byte |
micVoiceNumber
The device number of the microphone that this connection will use when it acts as a speaker. |
OID |
playerOid
The oid of the player with which this connection is associated. |
java.io.BufferedOutputStream |
recordSpeexStream
The output stream being used to write speex frames to disk. |
short |
seqNum
The most recent sequence number received in a message from this voice connection. |
| Constructor Summary | |
|---|---|
VoiceConnection(ClientConnection con)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
A descriptive string for the VoiceConnection object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ClientConnection con
public OID playerOid
public GroupMember groupMember
public OID groupOid
public VoiceGroup group
public byte micVoiceNumber
public SecureToken authToken
public short seqNum
public boolean listenToYourself
public java.io.BufferedOutputStream recordSpeexStream
| Constructor Detail |
|---|
public VoiceConnection(ClientConnection con)
con - The ClientCconnection object representing the
network connection to the player associated with this
VoiceConnection.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||