org.objectweb.cjdbc.controller.backup
Class DumpTransferInfo
java.lang.Object
org.objectweb.cjdbc.controller.backup.DumpTransferInfo
- All Implemented Interfaces:
- java.io.Serializable
- public class DumpTransferInfo
- extends java.lang.Object
- implements java.io.Serializable
DumpTransferInfo is used to store the necessary information for the client
backuper to fetch a dump from server backuper.
- Version:
- 1.0
- Author:
- Olivier Fambon
- See Also:
- Serialized Form
Constructor Summary |
(package private) |
DumpTransferInfo(java.net.SocketAddress backuperServerAddress,
long sessionKey)
|
Method Summary |
java.net.SocketAddress |
getBackuperServerAddress()
Returns the Backuper server address that clients should use to fetch a
dump. |
long |
getSessionKey()
Returns a SessionKey to be used as authentication token by the client when
fetching a dump. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sessionKey
private long sessionKey
backuperServerAddress
private java.net.SocketAddress backuperServerAddress
DumpTransferInfo
DumpTransferInfo(java.net.SocketAddress backuperServerAddress,
long sessionKey)
getBackuperServerAddress
public java.net.SocketAddress getBackuperServerAddress()
- Returns the Backuper server address that clients should use to fetch a
dump. The Backuper server at this address will ask for the session key.
- Returns:
- the Backuper server address.
getSessionKey
public long getSessionKey()
- Returns a SessionKey to be used as authentication token by the client when
fetching a dump.
- Returns:
- a SessionKey to be used as authentication token.
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.