Advertisement
TrodelHD

Untitled

May 7th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. package Connection;
  2.  
  3. import java.io.IOException;
  4. import java.util.ArrayList;
  5.  
  6. public class Send {
  7.  
  8.  
  9. private ArrayList<String> a = new ArrayList<String>();
  10.  
  11.  
  12. public Send(ArrayList<String> d,BuildConnection con) {
  13. this.a = d;
  14. try {
  15. con.getOutput().writeObject(this.a);
  16. con.getOutput().flush();
  17. System.out.println("gesendet");
  18. } catch (IOException e) {
  19. System.out.println("fhler senden");
  20. e.printStackTrace();
  21. }
  22.  
  23.  
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement