Class ChunkRevisions.UploadFileToClient

java.lang.Object
zombie.network.ChunkRevisions.UploadFileToClient
Enclosing class:
ChunkRevisions

public static class ChunkRevisions.UploadFileToClient
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    UdpConnection connection  
    java.net.Socket connectionSocket  
    java.lang.String fileName  
    java.io.BufferedOutputStream outputStream  
    int port  
    java.net.ServerSocket serverSocket  
  • Constructor Summary

    Constructors
    Constructor Description
    UploadFileToClient​(UdpConnection udpConnection, int int1, java.lang.String string)  
  • Method Summary

    Modifier and Type Method Description
    void cleanup()  
    boolean connect()  
    boolean init()  
    boolean upload()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fileName

      public java.lang.String fileName
    • connection

      public UdpConnection connection
    • port

      public int port
    • serverSocket

      public java.net.ServerSocket serverSocket
    • connectionSocket

      public java.net.Socket connectionSocket
    • outputStream

      public java.io.BufferedOutputStream outputStream
  • Constructor Details

    • UploadFileToClient

      public UploadFileToClient​(UdpConnection udpConnection, int int1, java.lang.String string)
  • Method Details

    • init

      public boolean init()
    • connect

      public boolean connect()
    • upload

      public boolean upload()
    • cleanup

      public void cleanup()