OpenECHO
 All Classes Namespaces Files Functions Variables
Classes | Static Public Member Functions | Static Public Attributes | List of all members
com.sonycsl.echo.EchoSocket Class Reference

Static Public Member Functions

static void openSocket () throws IOException
 
static void closeSocket () throws IOException
 
static void sendUDPFrame (EchoFrame frame) throws IOException
 
static void sendTCPFrame (EchoFrame frame) throws IOException
 
static void sendTCPFrame (EchoFrame frame, Socket socket) throws IOException
 
static void receiveUDP () throws IOException
 
static void receiveTCP () throws IOException
 
static void startReceiverThread ()
 
static void stopReceiverThread ()
 
static void resumeReceiverThread ()
 
static void pauseReceiverThread ()
 
static synchronized short nextTID ()
 
static short getNextTIDNoIncrement ()
 
static void closeTCPSocket (Socket socket)
 

Static Public Attributes

static int UDP_MAX_PACKET_SIZE = 65507
 
static int TCP_MAX_PACKET_SIZE = 65507
 
static final String SELF_ADDRESS = "127.0.0.1"
 
static final String MULTICAST_ADDRESS = "224.0.23.0"
 

Detailed Description

Definition at line 45 of file EchoSocket.java.

Member Function Documentation

static void com.sonycsl.echo.EchoSocket.closeSocket ( ) throws IOException
static

Definition at line 125 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.closeTCPSocket ( Socket  socket)
static

Definition at line 581 of file EchoSocket.java.

static short com.sonycsl.echo.EchoSocket.getNextTIDNoIncrement ( )
static

Definition at line 577 of file EchoSocket.java.

static synchronized short com.sonycsl.echo.EchoSocket.nextTID ( )
static

Definition at line 570 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.openSocket ( ) throws IOException
static

Definition at line 96 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.pauseReceiverThread ( )
static

Definition at line 567 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.receiveTCP ( ) throws IOException
static

Definition at line 523 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.receiveUDP ( ) throws IOException
static

Definition at line 493 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.resumeReceiverThread ( )
static

Definition at line 563 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.sendTCPFrame ( EchoFrame  frame) throws IOException
static

Definition at line 446 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.sendTCPFrame ( EchoFrame  frame,
Socket  socket 
) throws IOException
static

Definition at line 487 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.sendUDPFrame ( EchoFrame  frame) throws IOException
static

Definition at line 426 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.startReceiverThread ( )
static

Definition at line 543 of file EchoSocket.java.

static void com.sonycsl.echo.EchoSocket.stopReceiverThread ( )
static

Definition at line 554 of file EchoSocket.java.

Member Data Documentation

final String com.sonycsl.echo.EchoSocket.MULTICAST_ADDRESS = "224.0.23.0"
static

Definition at line 53 of file EchoSocket.java.

final String com.sonycsl.echo.EchoSocket.SELF_ADDRESS = "127.0.0.1"
static

Definition at line 52 of file EchoSocket.java.

int com.sonycsl.echo.EchoSocket.TCP_MAX_PACKET_SIZE = 65507
static

Definition at line 50 of file EchoSocket.java.

int com.sonycsl.echo.EchoSocket.UDP_MAX_PACKET_SIZE = 65507
static

Definition at line 49 of file EchoSocket.java.


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