java.lang.Object
java.awt.Component
java.awt.Canvas
org.jivesoftware.smackx.jingleold.mediaimpl.sshare.api.ImageReceiver
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ImageReceiver extends Canvas
UDP Image Receiver. It uses PNG Tiles into UDP packets.
See Also:
  • Constructor Details

    • ImageReceiver

      public ImageReceiver(InetAddress remoteHost, int remotePort, int localPort, int width, int height)
  • Method Details

    • getLocalHost

      public InetAddress getLocalHost()
    • getRemoteHost

      public InetAddress getRemoteHost()
    • getLocalPort

      public int getLocalPort()
    • getRemotePort

      public int getRemotePort()
    • getDatagramSocket

      public DatagramSocket getDatagramSocket()
    • drawTile

      public void drawTile(int x, int y, BufferedImage bufferedImage)
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class Canvas
    • getDecoder

      public ImageDecoder getDecoder()
    • setDecoder

      public void setDecoder(ImageDecoder decoder)
    • stop

      public void stop()