org.objectweb.cjdbc.controller.backup
Class DumpTransferInfo

java.lang.Object
  extended byorg.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

Field Summary
private  java.net.SocketAddress backuperServerAddress
           
private static long serialVersionUID
           
private  long sessionKey
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

sessionKey

private long sessionKey

backuperServerAddress

private java.net.SocketAddress backuperServerAddress
Constructor Detail

DumpTransferInfo

DumpTransferInfo(java.net.SocketAddress backuperServerAddress,
                 long sessionKey)
Method Detail

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.