public class GssApiMethod extends AbstractSocksMethod
GssApiMethod
is represents GSS API method in SOCKS protocol.Constructor and Description |
---|
GssApiMethod() |
Modifier and Type | Method and Description |
---|---|
void |
doMethod(Session session)
Do method job.
|
void |
doMethod(SocksProxy socksProxy)
Do method job.
|
int |
getByte()
method byte.
|
String |
getMethodName()
Gets method's name.
|
equals, hashCode
public final int getByte()
SocksMethod
public void doMethod(SocksProxy socksProxy) throws SocksException
SocksMethod
socksProxy
- SocksProxy instance.SocksException
- If there are any errors about SOCKS protocol.public void doMethod(Session session) throws SocksException, IOException
SocksMethod
session
- Session.SocksException
- TODOIOException
- TODOpublic String getMethodName()
SocksMethod
Copyright © 2015. All rights reserved.