org.javagroups.service.lease
Class LeaseInfoReplicationHeader
java.lang.Object
|
+--org.javagroups.Header
|
+--org.javagroups.service.lease.LeaseInfoReplicationHeader
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Externalizable, java.io.Serializable
- public class LeaseInfoReplicationHeader
- extends Header
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HEADER_KEY
public static final java.lang.String HEADER_KEY
NONE
public static final int NONE
NEW_LEASE_TYPE
public static final int NEW_LEASE_TYPE
RENEW_LEASE_TYPE
public static final int RENEW_LEASE_TYPE
CANCEL_LEASE_TYPE
public static final int CANCEL_LEASE_TYPE
LeaseInfoReplicationHeader
public LeaseInfoReplicationHeader()
- Construct uninitialized instance of this object.
LeaseInfoReplicationHeader
public LeaseInfoReplicationHeader(int headerType,
LeaseFactoryService.LeaseInfo leaseInfo)
- Create instance of this object for a specified lease info object.
getType
public int getType()
- Get header type.
getLeaseInfo
public LeaseFactoryService.LeaseInfo getLeaseInfo()
- Get lease info from this header.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read state of this object from
ObjectInput
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write state of this header into
ObjectOutput
.
Copyright © 2001,2002 www.javagroups.com . All Rights Reserved.