1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Vincent Perot - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.pcap
.core
.protocol
.unknown
;
15 import org
.eclipse
.jdt
.annotation
.Nullable
;
16 import org
.eclipse
.linuxtools
.pcap
.core
.endpoint
.ProtocolEndpoint
;
19 * Class that extends the {@link ProtocolEndpoint} class. It represents the
20 * endpoint for a protocol that is unknown.
22 * @author Vincent Perot
24 public class UnknownEndpoint
extends ProtocolEndpoint
{
27 * Constructor of the {@link UnknownEndpoint} class. It takes a packet to
28 * get its endpoint. Since every packet has two endpoints (source and
29 * destination), the isSourceEndpoint parameter is used to specify which
33 * The packet that contains the endpoints.
34 * @param isSourceEndpoint
35 * Whether to take the source or the destination endpoint of the
38 public UnknownEndpoint(UnknownPacket packet
, boolean isSourceEndpoint
) {
39 super(packet
, isSourceEndpoint
);
43 public int hashCode() {
48 public String
toString() {
53 public boolean equals(@Nullable Object obj
) {
This page took 0.034396 seconds and 5 git commands to generate.