浏览代码

SendAndReceive Klasse bearbeitet.

hapi
Ileana Krontsi 10 年前
committed by 630030
父节点
当前提交
abdd736077
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/main/java/de/uniluebeck/mi/projmi6/controller/SendAndReceiveMessage.java

+ 2
- 2
src/main/java/de/uniluebeck/mi/projmi6/controller/SendAndReceiveMessage.java 查看文件

@@ -26,7 +26,7 @@ public class SendAndReceiveMessage {
public static void main(String[] args) throws Exception {
}

public void sendMessage(){
public void sendMessage(Message message){
/*
* The following section of code establishes a server listening
* on port 1011 for new connections, and then "handles" them by
@@ -128,7 +128,7 @@ public class SendAndReceiveMessage {



public void receiveMessage(){
public void receiveMessage(Message message){
/*
* The following section of code establishes a server listening
* on port 1011 for new connections, and then "handles" them by


正在加载...
取消
保存