blob: 67d0a606e64270b22d8cc55c6bf1c808d6607b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package com.c2kernel.entity.proxy;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.util.ArrayList;
import com.c2kernel.common.InvalidDataException;
/**************************************************************************
*
* $Revision: 1.1 $
* $Date: 2003/04/24 10:12:40 $
*
* Copyright (C) 2003 CERN - European Organization for Nuclear Research
* All rights reserved.
**************************************************************************/
public class ProxySubscriber {
private InetAddress host;
private int port;
public ArrayList sysKeys = new ArrayList();
public ProxySubscriber(DatagramPacket packet) throws InvalidDataException {
host = packet.getAddress();
port = packet.getPort();
}
public InetAddress getHost() {
return host;
}
public int getPort() {
return port;
}
}
|