com.jcraft.jorbis
Class JOrbisPlayer.UDPIO

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.jcraft.jorbis.JOrbisPlayer.UDPIO
Enclosing class:
JOrbisPlayer

class JOrbisPlayer.UDPIO
extends java.io.InputStream


Field Summary
(package private)  java.net.InetAddress address
           
(package private)  byte[] buf
           
(package private)  byte[] inbuffer
           
(package private)  int inend
           
(package private)  int instart
           
(package private)  byte[] outbuffer
           
(package private)  int outindex
           
(package private)  int port
           
(package private)  java.net.DatagramPacket recpacket
           
(package private)  java.net.DatagramPacket sndpacket
           
(package private)  java.net.DatagramSocket socket
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
(package private) JOrbisPlayer.UDPIO(int port)
           
 
Method Summary
 void close()
           
(package private)  int getByte()
           
(package private)  int getByte(byte[] array)
           
(package private)  int getByte(byte[] array, int begin, int length)
           
(package private)  int getInt()
           
(package private)  void getPad(int n)
           
(package private)  int getShort()
           
 int read()
           
 int read(byte[] array, int begin, int length)
           
(package private)  void read(int n)
           
(package private)  void setTimeout(int i)
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

java.net.InetAddress address

socket

java.net.DatagramSocket socket

sndpacket

java.net.DatagramPacket sndpacket

recpacket

java.net.DatagramPacket recpacket

buf

byte[] buf

port

int port

inbuffer

byte[] inbuffer

outbuffer

byte[] outbuffer

instart

int instart

inend

int inend

outindex

int outindex
Constructor Detail

JOrbisPlayer.UDPIO

JOrbisPlayer.UDPIO(int port)
Method Detail

setTimeout

void setTimeout(int i)

getByte

int getByte()
      throws java.io.IOException
Throws:
java.io.IOException

getByte

int getByte(byte[] array)
      throws java.io.IOException
Throws:
java.io.IOException

getByte

int getByte(byte[] array,
            int begin,
            int length)
      throws java.io.IOException
Throws:
java.io.IOException

getShort

int getShort()
       throws java.io.IOException
Throws:
java.io.IOException

getInt

int getInt()
     throws java.io.IOException
Throws:
java.io.IOException

getPad

void getPad(int n)
      throws java.io.IOException
Throws:
java.io.IOException

read

void read(int n)
    throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] array,
                int begin,
                int length)
         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.