Jamoma API  0.6.0.a19
TTOscSocket Class Reference

TTOscSocket is ... More...

#include <TTOscSocket.h>

Inherits osc::OscPacketListener.

Public Member Functions

 TTOscSocket (const TTObjectBasePtr owner, const TTUInt16 port)
 Create a socket to receive osc messages. More...
 
 TTOscSocket (const TTString &address, const TTUInt16 port)
 Create a socket to send osc messages. More...
 

Friends

TTPtr TTOscSocketListenerCreate (TTPtr anArgument)
 ... More...
 
TTBoolean TTOscSocketListenerRun (TTPtr anArgument)
 ... More...
 

Detailed Description

TTOscSocket is ...

Definition at line 39 of file TTOscSocket.h.

Constructor & Destructor Documentation

TTOscSocket::TTOscSocket ( const TTObjectBasePtr  owner,
const TTUInt16  port 
)

Create a socket to receive osc messages.

Parameters
ownerthe TTObjectBase to notify
portthe port number

Definition at line 58 of file TTOscSocket.cpp.

References kOscSocketConnectionTrying, and TTOscSocketListenerCreate.

TTOscSocket::TTOscSocket ( const TTString address,
const TTUInt16  port 
)

Create a socket to send osc messages.

Parameters
addressthe ip address
portthe port number

Definition at line 70 of file TTOscSocket.cpp.

References kOscSocketConnectionTrying.

Friends And Related Function Documentation

TTPtr TTOscSocketListenerCreate ( TTPtr  anArgument)
friend

...

Parameters
anArgumenta TTOscSocket pointer
Returns
NULL

Definition at line 12 of file TTOscSocket.cpp.

Referenced by TTOscSocket().

TTBoolean TTOscSocketListenerRun ( TTPtr  anArgument)
friend

...

Parameters
anArgumenta TTOscSocket pointer
Returns
NO if the Osc listener should abort or YES if it should continue

Definition at line 32 of file TTOscSocket.cpp.


The documentation for this class was generated from the following files: