net.spy.pool
Class SNPPPoolFiller
java.lang.Object
net.spy.pool.PoolFiller
net.spy.pool.SNPPPoolFiller
public class SNPPPoolFiller
- extends PoolFiller
PoolFiller object to fill a pool with SNPP PoolAbles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNPPPoolFiller
public SNPPPoolFiller(String name,
SpyConfig conf)
getObject
public PoolAble getObject()
throws PoolException
- get a new object for the pool.
The following config entries are required:
- snppHost - SNPP server hostname
The following config entries are optional:
- snppPort - Alternate SNPP server port. Default is 444
- max_age - The maximum amount of time (in milliseconds) that the
connection can live. Default is forever
- Specified by:
getObject in class PoolFiller
- Throws:
PoolException - if a new connection could not be made.
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.