public class ServiceLink
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ANY_IFACE |
static int |
INCOMING_PACKET |
static int |
OUTGOING_PACKET |
int |
serviceId |
Constructor and Description |
---|
ServiceLink() |
Modifier and Type | Method and Description |
---|---|
long |
getAddr1() |
long |
getAddr2() |
java.lang.String |
getComment() |
java.util.Calendar |
getDate1() |
java.util.Calendar |
getDate2() |
int |
getDiffServ() |
int |
getDiffServMask() |
java.lang.String |
getDiffServString() |
int |
getDirect() |
int |
getId() |
int |
getID()
Deprecated.
|
int |
getIface() |
int |
getPlanId() |
int |
getPort1() |
int |
getPort2() |
int |
getPos() |
int |
getServiceId() |
int |
getServiceID()
Deprecated.
|
int |
getSourceId() |
int |
getSourceID()
Deprecated.
|
boolean |
isCoinside(int direct,
long addr,
int port,
int iface,
int diffServ) |
void |
loadFromString(java.lang.String data) |
java.lang.String |
serializeToString() |
void |
setAddr1(long addr1) |
void |
setAddr2(long addr2) |
void |
setComment(java.lang.String comment) |
void |
setDate1(java.util.Calendar date1) |
void |
setDate2(java.util.Calendar date2) |
void |
setDiffServString(java.lang.String diffServString) |
void |
setDirect(int direct) |
void |
setId(int id) |
void |
setID(int id)
Deprecated.
|
void |
setIface(int iface) |
void |
setPlanId(int planId) |
void |
setPort1(int port1) |
void |
setPort2(int port2) |
void |
setPos(int pos) |
void |
setServiceId(int serviceId) |
void |
setServiceID(int serviceId)
Deprecated.
|
void |
setSourceId(int sourceId) |
void |
setSourceID(int sourceId)
Deprecated.
|
java.lang.String |
toString() |
public static final int OUTGOING_PACKET
public static final int INCOMING_PACKET
public static final int ANY_IFACE
public int serviceId
public int getId()
@Deprecated public int getID()
getId()
.public void setId(int id)
@Deprecated public void setID(int id)
setId(int)
.id
- public int getPos()
public void setPos(int pos)
public java.util.Calendar getDate1()
public void setDate1(java.util.Calendar date1)
public java.util.Calendar getDate2()
public void setDate2(java.util.Calendar date2)
public int getSourceId()
@Deprecated public int getSourceID()
getSourceId()
.public void setSourceId(int sourceId)
@Deprecated public void setSourceID(int sourceId)
setSourceId(int)
.sourceId
- public int getDirect()
public void setDirect(int direct)
public long getAddr1()
public void setAddr1(long addr1)
public long getAddr2()
public void setAddr2(long addr2)
public int getPort1()
public void setPort1(int port1)
public int getPort2()
public void setPort2(int port2)
public int getServiceId()
@Deprecated public int getServiceID()
getServiceId()
.public void setServiceId(int serviceId)
@Deprecated public void setServiceID(int serviceId)
setServiceId(int)
.serviceId
- public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String getDiffServString()
public void setDiffServString(java.lang.String diffServString)
public int getDiffServ()
public int getDiffServMask()
public boolean isCoinside(int direct, long addr, int port, int iface, int diffServ)
public java.lang.String toString()
toString
in class java.lang.Object
public int getIface()
public void setIface(int iface)
public java.lang.String serializeToString()
public void loadFromString(java.lang.String data)
public int getPlanId()
public void setPlanId(int planId)