drastic.mCmdIF
Class SocketData

java.lang.Object
  extended bydrastic.mCmdIF.SocketData

class SocketData
extends java.lang.Object

Title: SocketData

Description: Single socket within a socket manager

Copyright: Copyright (c) 2004-2007

Company: Drastic Tech

Version:
1.0
Author:
Dean Mitrovich

Field Summary
(package private)  long dwPrt
           
(package private)  long dwRefCount
           
(package private)  boolean fFirstConnect
           
(package private)  java.net.InetAddress inetIPAddress
           
private  boolean m_fInUse_SocketLocket
          Only for SocketLocket, do not use outside this function
(package private)  java.net.Socket socketUsed
           
 
Constructor Summary
(package private) SocketData()
           
 
Method Summary
(package private)  boolean fInUse()
           
(package private)  boolean LockSocket()
           
private  boolean SocketLocket(boolean fCheck, boolean fLock)
          SocketLocket
(package private)  boolean UnLockSocket()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dwRefCount

long dwRefCount

socketUsed

java.net.Socket socketUsed

inetIPAddress

java.net.InetAddress inetIPAddress

dwPrt

long dwPrt

fFirstConnect

boolean fFirstConnect

m_fInUse_SocketLocket

private boolean m_fInUse_SocketLocket
Only for SocketLocket, do not use outside this function

Constructor Detail

SocketData

SocketData()
Method Detail

SocketLocket

private boolean SocketLocket(boolean fCheck,
                             boolean fLock)
SocketLocket

Parameters:
fCheck - boolean
fLock - boolean
Returns:
boolean

fInUse

boolean fInUse()

LockSocket

boolean LockSocket()

UnLockSocket

boolean UnLockSocket()