Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Connection;
- import java.io.IOException;
- import java.util.ArrayList;
- public class Send {
- private ArrayList<String> a = new ArrayList<String>();
- public Send(ArrayList<String> d,BuildConnection con) {
- this.a = d;
- try {
- con.getOutput().writeObject(this.a);
- con.getOutput().flush();
- System.out.println("gesendet");
- } catch (IOException e) {
- System.out.println("fhler senden");
- e.printStackTrace();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement