public class IpResourceSubscriptionEvent extends PoolEvent
Modifier and Type | Field and Description |
---|---|
static short |
TYPE_SUBSCRIBED |
static short |
TYPE_UNSUBSCRIBED |
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
IpResourceSubscriptionEvent() |
|
IpResourceSubscriptionEvent(short type,
int moduleId,
int subscriberType,
int subscriberId,
java.lang.String subscriberTitle,
int ipResourceId,
long subscriptionId,
byte[] addressFrom,
byte[] addressTo,
java.util.Date timeFrom,
java.util.Date timeTo,
boolean dynamic) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAddressFrom() |
byte[] |
getAddressTo() |
int |
getIpResourceId() |
java.lang.String |
getSubscriberTitle() |
int |
getSubscriberType() |
long |
getSubscriptionId() |
java.util.Date |
getTimeFrom() |
java.util.Date |
getTimeTo() |
short |
getType() |
boolean |
isDynamic() |
void |
setAddressFrom(byte[] addressFrom) |
void |
setAddressTo(byte[] addressTo) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
public static final short TYPE_SUBSCRIBED
public static final short TYPE_UNSUBSCRIBED
protected IpResourceSubscriptionEvent()
public IpResourceSubscriptionEvent(short type, int moduleId, int subscriberType, int subscriberId, java.lang.String subscriberTitle, int ipResourceId, long subscriptionId, byte[] addressFrom, byte[] addressTo, java.util.Date timeFrom, java.util.Date timeTo, boolean dynamic)
public short getType()
public long getSubscriptionId()
public byte[] getAddressFrom()
public void setAddressFrom(byte[] addressFrom)
public byte[] getAddressTo()
public void setAddressTo(byte[] addressTo)
public java.util.Date getTimeTo()
public int getSubscriberType()
public java.lang.String getSubscriberTitle()
public int getIpResourceId()
public java.util.Date getTimeFrom()
public boolean isDynamic()